aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/3c59x.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-05-02 14:23:28 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-19 10:04:44 -0700
commit577b25f2aaa4b24fcff8457b240fd3442a1dd87b (patch)
treeaea8768e6cc9fd5556f32b6fa0ee8f4d4799025b /drivers/net/3c59x.c
parent368a315a157cda317a468c6d075e7e6ce6920410 (diff)
downloadkernel_samsung_espresso10-577b25f2aaa4b24fcff8457b240fd3442a1dd87b.zip
kernel_samsung_espresso10-577b25f2aaa4b24fcff8457b240fd3442a1dd87b.tar.gz
kernel_samsung_espresso10-577b25f2aaa4b24fcff8457b240fd3442a1dd87b.tar.bz2
bridge: fix race with topology change timer
[ Upstream commit 83401eb4990ff6af55aeed8f49681558544192e6 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/3c59x.c')
0 files changed, 0 insertions, 0 deletions