summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet2012-03-15 21:43:29 +0100
committerJohn W. Linville2012-03-26 21:07:26 +0200
commitb5447ff92b5169eab843a76d83e98d0cd7b7f5b6 (patch)
tree76892644681be24cece7e8a9bc7a992301420ab2 /net
parentath9k: reduce listen time period (diff)
downloadkernel-qcow2-linux-b5447ff92b5169eab843a76d83e98d0cd7b7f5b6.tar.gz
kernel-qcow2-linux-b5447ff92b5169eab843a76d83e98d0cd7b7f5b6.tar.xz
kernel-qcow2-linux-b5447ff92b5169eab843a76d83e98d0cd7b7f5b6.zip
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 <eric.dumazet@gmail.com> Cc: Jouni Malinen <jouni@qca.qualcomm.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: John W. Linville <linville@tuxdriver.com> Cc: Trond Wuellner <trond@chromium.org> Cc: Grant Grundler <grundler@chromium.org> Cc: Paul Stewart <pstew@chromium.org> Cc: David Miller <davem@davemloft.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions