From owner-svn-src-all@FreeBSD.ORG Tue Mar 9 00:52:16 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EC12106564A; Tue, 9 Mar 2010 00:52:16 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6ED388FC21; Tue, 9 Mar 2010 00:52:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o290qG8j058114; Tue, 9 Mar 2010 00:52:16 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o290qGVn058112; Tue, 9 Mar 2010 00:52:16 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201003090052.o290qGVn058112@svn.freebsd.org> From: Xin LI Date: Tue, 9 Mar 2010 00:52:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r204901 - head/sys/net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2010 00:52:16 -0000 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);