]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Fix dead queue when skb allocation failed
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 11 Oct 2010 13:38:26 +0000 (15:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Oct 2010 19:04:26 +0000 (15:04 -0400)
commit6bc381c1f870e9d6e52eac6887e365252254727e
treef3b1e789f3bca0f5793ce87c03160fda97f5a2bc
parent5c39576368b964c47dcd9fb84d4d9fe04cd7d70f
rt2x00: Fix dead queue when skb allocation failed

When the RX skb allocation failed, we should recycle
the previously allocated skbuffer. By calling return
we would kill the RX queue completely since the
entry would be invalidated.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c