summaryrefslogtreecommitdiff
path: root/net/bridge/br_stp_bpdu.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-10-12 15:10:01 -0700
committerDavid S. Miller <davem@davemloft.net>2005-10-12 15:10:01 -0700
commitab4060e858e36129f9319ef0fa055347ad60e1d5 (patch)
treec3d28036801fcab8529bd8ee977fafd755fb3da4 /net/bridge/br_stp_bpdu.c
parenteeb2b8560676e454ad37ee30b49bc7d897edc9be (diff)
[BRIDGE]: fix race on bridge del if
This fixes the RCU race on bridge delete interface. Basically, the network device has to be detached from the bridge in the first step (pre-RCU), rather than later. At that point, no more bridge traffic will come in, and the other code will not think that network device is part of a bridge. This should also fix the XEN test problems. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_stp_bpdu.c')
0 files changed, 0 insertions, 0 deletions