From: Russ Gorby Date: Mon, 13 Aug 2012 12:45:30 +0000 (+0100) Subject: n_gsm: memory leak in uplink error path X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88ed2a60610974443335c924d7cb8e5dcf9dbdc1;p=pandora-kernel.git n_gsm: memory leak in uplink error path Uplink (TX) network data will go through gsm_dlci_data_output_framed there is a bug where if memory allocation fails, the skb which has already been pulled off the list will be lost. In addition TX skbs were being processed in LIFO order Fixed the memory leak, and changed to FIFO order processing Signed-off-by: Russ Gorby Tested-by: Kappel, LaurentX Signed-off-by: Alan Cox Cc: Showjumping Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed