aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_if.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2010-08-24 09:08:10 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-25 19:36:50 -0400
commit944c794d6437e5301c8769cb242c2b919a5acf59 (patch)
treeac398dfc466650b19b08f33dd34de20463041bd5 /net/bridge/br_if.c
parentb2aff96327545aa5ceb25e3116be69c8b06de703 (diff)
bridge: fix locking comment
The carrier check is not called from work queue in current code. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_if.c')
-rw-r--r--net/bridge/br_if.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index c03d2c3ff03e..170794546522 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -61,11 +61,7 @@ static int port_cost(struct net_device *dev)
61} 61}
62 62
63 63
64/* 64/* Check for port carrier transistions. */
65 * Check for port carrier transistions.
66 * Called from work queue to allow for calling functions that
67 * might sleep (such as speed check), and to debounce.
68 */
69void br_port_carrier_check(struct net_bridge_port *p) 65void br_port_carrier_check(struct net_bridge_port *p)
70{ 66{
71 struct net_device *dev = p->dev; 67 struct net_device *dev = p->dev;