diff options
author | thompsa <thompsa@FreeBSD.org> | 2007-05-18 23:38:35 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2007-05-18 23:38:35 +0000 |
commit | e2c9edc61a77626a22487b87a0f00d67df51c4b7 (patch) | |
tree | 8f188c76e95c26b8aecb3debca230cab085c1c3b /sys/net/ieee8023ad_lacp.c | |
parent | bcf0956d8d2395c271f3ab8b7448f90d2032e81d (diff) | |
download | FreeBSD-src-e2c9edc61a77626a22487b87a0f00d67df51c4b7.zip FreeBSD-src-e2c9edc61a77626a22487b87a0f00d67df51c4b7.tar.gz |
Fix locking assert where we should hold the reader lock.
Diffstat (limited to 'sys/net/ieee8023ad_lacp.c')
-rw-r--r-- | sys/net/ieee8023ad_lacp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/ieee8023ad_lacp.c b/sys/net/ieee8023ad_lacp.c index 11b2f5e..9c266f8 100644 --- a/sys/net/ieee8023ad_lacp.c +++ b/sys/net/ieee8023ad_lacp.c @@ -750,7 +750,7 @@ lacp_select_tx_port(struct lagg_softc *lgs, struct mbuf *m) uint32_t hash; int nports; - LAGG_WLOCK_ASSERT(lgs); + LAGG_RLOCK_ASSERT(lgs); if (__predict_false(lsc->lsc_suppress_distributing)) { LACP_DPRINTF((NULL, "%s: waiting transit\n", __func__)); |