commit | b5ed54e94d324f17c97852296d61a143f01b227a | [log] [tgz] |
---|---|---|
author | stephen hemminger <shemminger@vyatta.com> | Mon Nov 15 06:38:13 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 15 11:13:17 2010 -0800 |
tree | 2104d3cde24efc1145bc71beb4b61d79ed841132 | |
parent | 61391cde9eefac5cfcf6d214aa80c77e58b1626b [diff] |
bridge: fix RCU races with bridge port The macro br_port_exists() is not enough protection when only RCU is being used. There is a tiny race where other CPU has cleared port handler hook, but is bridge port flag might still be set. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>