bridge: add rcu_read_lock on transmit
authorstephen hemminger <shemminger@vyatta.com>
Tue, 27 Jul 2010 08:26:30 +0000 (08:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jul 2010 17:50:55 +0000 (10:50 -0700)
Long ago, when bridge was converted to RCU, rcu lock was equivalent
to having preempt disabled. RCU has changed a lot since then and
bridge code was still assuming the since transmit was called with
bottom half disabled, it was RCU safe.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Tested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found