]> bbs.cooldavid.org Git - net-next-2.6.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)
commit1550c8ef835af17df322045e92541561afa0f017
treef3b1e789f3bca0f5793ce87c03160fda97f5a2bc
parent3590eea41815679e268c90d30795a13a732b8413
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