From: Eric Dumazet Date: Thu, 15 Mar 2012 20:43:29 +0000 (-0700) Subject: ath9k: fix a memory leak in ath_rx_tasklet() X-Git-Tag: v3.4-rc2~37^2~30^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5447ff92b5169eab843a76d83e98d0cd7b7f5b6;p=pandora-kernel.git ath9k: fix a memory leak in ath_rx_tasklet() commit 0d95521ea7 (ath9k: use split rx buffers to get rid of order-1 skb allocations) added in memory leak in error path. sc->rx.frag should be cleared after the pskb_expand_head() call, or else we jump to requeue_drop_frag and leak an skb. Signed-off-by: Eric Dumazet Cc: Jouni Malinen Cc: Felix Fietkau Cc: John W. Linville Cc: Trond Wuellner Cc: Grant Grundler Cc: Paul Stewart Cc: David Miller Signed-off-by: John W. Linville --- Reading git-diff-tree failed