svn commit: r206389 - stable/8/sys/net
Xin LI
delphij at FreeBSD.org
Thu Apr 8 00:52:29 UTC 2010
Author: delphij
Date: Thu Apr 8 00:52:28 2010
New Revision: 206389
URL: http://svn.freebsd.org/changeset/base/206389
Log:
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
Modified:
stable/8/sys/net/if_lagg.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/net/if_lagg.c
==============================================================================
--- stable/8/sys/net/if_lagg.c Thu Apr 8 00:50:43 2010 (r206388)
+++ stable/8/sys/net/if_lagg.c Thu Apr 8 00:52:28 2010 (r206389)
@@ -424,10 +424,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-8
mailing list