]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: fix RCU locking in __ieee80211_rx_handle_packet
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 16 Jan 2008 20:47:40 +0000 (21:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:43 +0000 (15:10 -0800)
commitf99b751fca5b16bea53c0d6724935e1949350052
tree82d85bd1be31261b9c6b9b4b8926c3f52a21c656
parentbfe6a50156ab0c33729378fae7038bce3c6c5184
mac80211: fix RCU locking in __ieee80211_rx_handle_packet

Commit c7a51bda ("mac80211: restructure __ieee80211_rx") extracted
__ieee80211_rx_handle_packet out of __ieee80211_rx and hence changed
the locking rules for __ieee80211_rx_handle_packet(), it is now
invoked under RCU lock. There is, however, one instance left where
it contains an rcu_read_unlock() in an error path, which is a bug.

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