Skip to contentSkip to conversation

bridge: fix locking comment

PATCH Applied Stephen Hemminger 2 participants 2 messages Aug 24, 2010 – Aug 25, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 bridge: fix locking comment

The carrier check is not called from work queue in current code.

net/bridge/br_if.c +1 -5
@@ -61,11 +61,7 @@ static int port_cost(struct net_device *
 }
 
 
-/*
- * Check for port carrier transistions.
- * Called from work queue to allow for calling functions that
- * might sleep (such as speed check), and to debounce.
- */
+/* Check for port carrier transistions. */
 void br_port_carrier_check(struct net_bridge_port *p)
 {
 	struct net_device *dev = p->dev;