]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: improve dma map failure handling
authorFelix Fietkau <nbd@openwrt.org>
Sun, 7 Apr 2013 22:04:10 +0000 (00:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Apr 2013 18:10:33 +0000 (14:10 -0400)
commit3f0072f34fc6be4a7eec49a89df99775710dda6b
tree5c15aa082527ce0f790cb2e38fbafa8346cff62e
parent969dba79dd813dbe208028b8debcf42e852c03f3
ath9k: improve dma map failure handling

Instead of leaving the buffer without skb and breaking out of the loop
(which could leak the rx buffer), use the common error path.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c