Date: Thu, 8 Apr 2010 00:55:09 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r206390 - stable/7/sys/net Message-ID: <201004080055.o380t9Mf062870@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Thu Apr 8 00:55:08 2010 New Revision: 206390 URL: http://svn.freebsd.org/changeset/base/206390 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/7/sys/net/if_lagg.c 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004080055.o380t9Mf062870>