summaryrefslogtreecommitdiffstats
path: root/sys/net/if_lagg.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2007-05-18 23:38:35 +0000
committerthompsa <thompsa@FreeBSD.org>2007-05-18 23:38:35 +0000
commite2c9edc61a77626a22487b87a0f00d67df51c4b7 (patch)
tree8f188c76e95c26b8aecb3debca230cab085c1c3b /sys/net/if_lagg.c
parentbcf0956d8d2395c271f3ab8b7448f90d2032e81d (diff)
downloadFreeBSD-src-e2c9edc61a77626a22487b87a0f00d67df51c4b7.zip
FreeBSD-src-e2c9edc61a77626a22487b87a0f00d67df51c4b7.tar.gz
Fix locking assert where we should hold the reader lock.
Diffstat (limited to 'sys/net/if_lagg.c')
-rw-r--r--sys/net/if_lagg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index 76e5c88..52c51cc 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -1138,7 +1138,7 @@ lagg_link_active(struct lagg_softc *sc, struct lagg_port *lp)
struct lagg_port *lp_next, *rval = NULL;
// int new_link = LINK_STATE_DOWN;
- LAGG_WLOCK_ASSERT(sc);
+ LAGG_RLOCK_ASSERT(sc);
/*
* Search a port which reports an active link state.
*/
OpenPOWER on IntegriCloud