mac80211: fix RX skb leaks
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 24 Aug 2009 09:46:30 +0000 (11:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:41 +0000 (14:40 -0400)
commit77a980dc6c4674fc7741d72b9775135669318d8d
treebe8a359a42002eda0553c0fe046a4a7f0e62e3a8
parent0448b5fc032ea76096eb3cfbe3196b3c01b08b86
mac80211: fix RX skb leaks

In mac80211's RX path some of the warnings that
warn about drivers passing invalid status values
leak the skb, fix that by refactoring the code.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c