aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2008-09-18 04:14:28 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2008-09-18 04:14:28 +0000
commit96c41c08b0af1394f1a8f9c192242d52b7fa0c70 (patch)
tree2877624adc0af6251ef550d935738c53e03dbcda /sys/net
parenta370f3ca73d14fa6e7f8d8af1af6904361957931 (diff)
Notes
Diffstat (limited to 'sys/net')
-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 c7e1fa548796..5d04282a15ae 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -1123,7 +1123,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);