projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb97ad9
)
net: bridge: fix br_stp_enable_bridge comment
author
Vivien Didelot
<vivien.didelot@savoirfairelinux.com>
Thu, 21 Jul 2016 16:42:10 +0000
(12:42 -0400)
committer
David S. Miller
<davem@davemloft.net>
Mon, 25 Jul 2016 17:30:03 +0000
(10:30 -0700)
br_stp_enable_bridge() does take the br->lock spinlock. Fix its wrongly
pasted comment and use the same as br_stp_disable_bridge().
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp_if.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_stp_if.c
b/net/bridge/br_stp_if.c
index
984d462
..
341caa0
100644
(file)
--- a/
net/bridge/br_stp_if.c
+++ b/
net/bridge/br_stp_if.c
@@
-55,7
+55,7
@@
void br_init_port(struct net_bridge_port *p)
netdev_err(p->dev, "failed to set HW ageing time\n");
}
-/*
called under bridge lock
*/
+/*
NO locks held
*/
void br_stp_enable_bridge(struct net_bridge *br)
{
struct net_bridge_port *p;