svn commit: r317723 - head/sys/net

Alexander Motin mav at FreeBSD.org
Wed May 3 02:54:12 UTC 2017


Author: mav
Date: Wed May  3 02:54:11 2017
New Revision: 317723
URL: https://svnweb.freebsd.org/changeset/base/317723

Log:
  Fix r317696 build without debug.
  
  MFC after:	2 weeks

Modified:
  head/sys/net/if_lagg.c

Modified: head/sys/net/if_lagg.c
==============================================================================
--- head/sys/net/if_lagg.c	Wed May  3 02:37:44 2017	(r317722)
+++ head/sys/net/if_lagg.c	Wed May  3 02:54:11 2017	(r317723)
@@ -1533,10 +1533,9 @@ lagg_setmulti(struct lagg_port *lp)
 static int
 lagg_clrmulti(struct lagg_port *lp)
 {
-	struct lagg_softc *sc = lp->lp_softc;
 	struct lagg_mc *mc;
 
-	LAGG_WLOCK_ASSERT(sc);
+	LAGG_WLOCK_ASSERT(lp->lp_softc);
 	while ((mc = SLIST_FIRST(&lp->lp_mc_head)) != NULL) {
 		SLIST_REMOVE(&lp->lp_mc_head, mc, lagg_mc, mc_entries);
 		if (mc->mc_ifma && lp->lp_detaching == 0)


More information about the svn-src-head mailing list