commit | eeaf61d8891f9c9ed12c1a667e72bf83f0857954 | [log] [tgz] |
---|---|---|
author | stephen hemminger <shemminger@vyatta.com> | Tue Jul 27 08:26:30 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 28 10:50:55 2010 -0700 |
tree | daeda447800df1349559268d8f6e79c90dcd22dd | |
parent | ff847ac2d3e90edd94674c28bade25ae1e6a2e49 [diff] |
bridge: add rcu_read_lock on transmit 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>