diff options
author | thompsa <thompsa@FreeBSD.org> | 2007-12-31 01:16:35 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2007-12-31 01:16:35 +0000 |
commit | 93319cc10273607712748c7127ef8b6b9c423f9d (patch) | |
tree | 085e519c51963ef594607a3d43bba393ca3673f8 /sys/net/if_lagg.c | |
parent | 1f55b95c0b8bf827067cd8af2a8bb21479ae5efb (diff) | |
download | FreeBSD-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.c | 5 |
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); } /* |