summaryrefslogtreecommitdiffstats
path: root/sys/net/if_lagg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_lagg.c')
-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 53af5fe..27fef3f 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.
OpenPOWER on IntegriCloud