summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2007-12-21 05:33:48 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2007-12-21 05:33:48 +0000
commit3dc9a55575f4073ac770a737864e5e595e4e6764 (patch)
treeb336148d2e8ad08e46e4f73405abb4c2396adecd
parentdc023ffd8f91cb147d0a506b49219109482c61c3 (diff)
Notes
-rw-r--r--sys/net/if_lagg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index 53af5fe8440b..27fef3f0d548 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -1480,8 +1480,8 @@ lagg_fail_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m)
return (m);
}
- if (sc->sc_primary->lp_link_state == LINK_STATE_DOWN) {
- tmp_tp = lagg_link_active(sc, NULL);
+ if (!LAGG_PORTACTIVE(sc->sc_primary)) {
+ tmp_tp = lagg_link_active(sc, sc->sc_primary);
/*
* If tmp_tp is null, we've recieved a packet when all
* our links are down. Weird, but process it anyways.