Date: Tue, 9 Mar 2010 00:52:16 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r204901 - head/sys/net Message-ID: <201003090052.o290qGVn058112@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Tue Mar 9 00:52:16 2010 New Revision: 204901 URL: http://svn.freebsd.org/changeset/base/204901 Log: 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 MFC after: 1 month Modified: head/sys/net/if_lagg.c Modified: head/sys/net/if_lagg.c ============================================================================== --- head/sys/net/if_lagg.c Tue Mar 9 00:50:58 2010 (r204900) +++ head/sys/net/if_lagg.c Tue Mar 9 00:52:16 2010 (r204901) @@ -484,10 +484,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?201003090052.o290qGVn058112>