summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2011-04-30 20:34:52 +0000
committerthompsa <thompsa@FreeBSD.org>2011-04-30 20:34:52 +0000
commitfc83a48265916a41c1402c6edcdfc62133937dce (patch)
tree0e1cb7f8cbb38308745470d7f9c9645866f84155
parent9a015a5a31f2fc4859f32f1baac324882667042f (diff)
downloadFreeBSD-src-fc83a48265916a41c1402c6edcdfc62133937dce.zip
FreeBSD-src-fc83a48265916a41c1402c6edcdfc62133937dce.tar.gz
LACP frames must not be send VLAN-tagged, check for that before processing.
PR: kern/156743 Submitted by: Dmitrij Tejblum MFC after: 1 week
-rw-r--r--sys/net/if_lagg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index cbe9b99..2548c65 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -1794,7 +1794,7 @@ lagg_lacp_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m)
etype = ntohs(eh->ether_type);
/* Tap off LACP control messages */
- if (etype == ETHERTYPE_SLOW) {
+ if ((m->m_flags & M_VLANTAG) == 0 && etype == ETHERTYPE_SLOW) {
m = lacp_input(lp, m);
if (m == NULL)
return (NULL);
OpenPOWER on IntegriCloud