From: Vivien Didelot Date: Thu, 21 Jul 2016 16:42:10 +0000 (-0400) Subject: net: bridge: fix br_stp_enable_bridge comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dba479f3d60a9d1f90458a4c6eb0754ecd22348c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: bridge: fix br_stp_enable_bridge comment 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 Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_stp_if.c b/net/bridge/br_stp_if.c index 984d46263007..341caa0ca63a 100644 --- 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;