diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2007-05-18 23:38:35 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2007-05-18 23:38:35 +0000 |
commit | 3362a47464b933e9c0db464aae63f977ac59ad5e (patch) | |
tree | 8f188c76e95c26b8aecb3debca230cab085c1c3b /sys/net/ieee8023ad_lacp.c | |
parent | 1cd1670b4821688102affe0ff62f72d9c5792440 (diff) | |
download | src-3362a47464b933e9c0db464aae63f977ac59ad5e.tar.gz src-3362a47464b933e9c0db464aae63f977ac59ad5e.zip |
Fix locking assert where we should hold the reader lock.
Notes
Notes:
svn path=/head/; revision=169688
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 11b2f5e89eab..9c266f8d5828 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__)); |