aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2008-09-21 06:01:52 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2008-09-21 06:01:52 +0000
commit05840c06eb5ab7b9fbbaf74bf4df960201ca61fa (patch)
tree85e1958e12ca4377d8c428ee50155cf82b5fd615 /sys
parentf4b32bb5b2ab2ce0c36a9fb785ab5789186edddd (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_lagg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index 59fefd6b592e..c66c0aa09d91 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -1185,7 +1185,8 @@ lagg_start(struct ifnet *ifp)
ETHER_BPF_MTAP(ifp, m);
- if (sc->sc_proto != LAGG_PROTO_NONE)
+ /* We need a Tx algorithm and at least one port */
+ if (sc->sc_proto != LAGG_PROTO_NONE && sc->sc_count)
error = (*sc->sc_start)(sc, m);
else
m_freem(m);