forked from Minki/linux
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 <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
eb97ad99f9
commit
dba479f3d6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user