summaryrefslogtreecommitdiffstats
path: root/sys/net/if_lagg.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2007-12-31 01:16:35 +0000
committerthompsa <thompsa@FreeBSD.org>2007-12-31 01:16:35 +0000
commit93319cc10273607712748c7127ef8b6b9c423f9d (patch)
tree085e519c51963ef594607a3d43bba393ca3673f8 /sys/net/if_lagg.c
parent1f55b95c0b8bf827067cd8af2a8bb21479ae5efb (diff)
downloadFreeBSD-src-93319cc10273607712748c7127ef8b6b9c423f9d.zip
FreeBSD-src-93319cc10273607712748c7127ef8b6b9c423f9d.tar.gz
Pass any unmatched slowprotocols frames up the stack instead of dropping them,
there are more subtypes than just LACP.
Diffstat (limited to 'sys/net/if_lagg.c')
-rw-r--r--sys/net/if_lagg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index 27fef3f..c863387 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -1700,8 +1700,9 @@ lagg_lacp_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m)
/* Tap off LACP control messages */
if (etype == ETHERTYPE_SLOW) {
- lacp_input(lp, m);
- return (NULL);
+ m = lacp_input(lp, m);
+ if (m == NULL)
+ return (NULL);
}
/*
OpenPOWER on IntegriCloud