aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-05-02 14:23:28 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-03 16:08:58 -0400
commit83401eb4990ff6af55aeed8f49681558544192e6 (patch)
tree03ffd894cf160fdd0f87e63a4136810cf6275e2b /include
parenttipc: pskb_copy() buffers when sending on more than one bearer (diff)
downloadlinux-dev-83401eb4990ff6af55aeed8f49681558544192e6.tar.xz
linux-dev-83401eb4990ff6af55aeed8f49681558544192e6.zip
bridge: fix race with topology change timer
A bridge should only send topology change notice if it is not the root bridge. It is possible for message age timer to elect itself as a new root bridge, and still have a topology change timer running but waiting for bridge lock on other CPU. Solve the race by checking if we are root bridge before continuing. This was the root cause of the cases where br_send_tcn_bpdu would OOPS. Reported-by: JerryKang <jerry.kang@samsung.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions