svn commit: r206390 - stable/7/sys/net

Xin LI delphij at
Thu Apr 8 00:55:09 UTC 2010

Author: delphij
Date: Thu Apr  8 00:55:08 2010
New Revision: 206390

  MFC r204901
  Remove the check for IFF_DRV_OACTIVE right before adding a port into lagg
  interface.  The check itself seems to be coming from OpenBSD but does not
  seem to be useful for our code.
  Discussed with:	thomasa

Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/net/if_lagg.c
--- stable/7/sys/net/if_lagg.c	Thu Apr  8 00:52:28 2010	(r206389)
+++ stable/7/sys/net/if_lagg.c	Thu Apr  8 00:55:08 2010	(r206390)
@@ -419,10 +419,6 @@ lagg_port_create(struct lagg_softc *sc, 
 	if (sc->sc_count >= LAGG_MAX_PORTS)
 		return (ENOSPC);
-	/* New lagg port has to be in an idle state */
-	if (ifp->if_drv_flags & IFF_DRV_OACTIVE)
-		return (EBUSY);
 	/* Check if port has already been associated to a lagg */
 	if (ifp->if_lagg != NULL)
 		return (EBUSY);

More information about the svn-src-stable-7 mailing list