diff options
author | delphij <delphij@FreeBSD.org> | 2010-03-09 00:52:16 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-03-09 00:52:16 +0000 |
commit | fe5f1f57b8fcac02898f1fa59b4c49c028009495 (patch) | |
tree | 3570263b6a5d562898f62e27386a1191d37f22fc | |
parent | abd91545cc52578497a2f7b5be2efbfdfcbebe05 (diff) | |
download | FreeBSD-src-fe5f1f57b8fcac02898f1fa59b4c49c028009495.zip FreeBSD-src-fe5f1f57b8fcac02898f1fa59b4c49c028009495.tar.gz |
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
-rw-r--r-- | sys/net/if_lagg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index 4728780..cb14601 100644 --- a/sys/net/if_lagg.c +++ b/sys/net/if_lagg.c @@ -484,10 +484,6 @@ lagg_port_create(struct lagg_softc *sc, struct ifnet *ifp) 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); |