From ba26134b190272850e1cb8bb4ad9f91a09a4ac93 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Tue, 30 Aug 2005 14:14:08 +0000 Subject: [PATCH] Fix fallout from revision 1.77, mark outgoing packets with M_VLANTAG flag. PR: kern/80646 Reviewed by: yar MFC after: 3 days --- sys/net/if_vlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 87b3a6ca27fb..5a8fafe6d421 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -504,6 +504,7 @@ vlan_start(struct ifnet *ifp) } *(u_int*)(mtag + 1) = ifv->ifv_tag; m_tag_prepend(m, mtag); + m->m_flags |= M_VLANTAG; } else { M_PREPEND(m, ifv->ifv_encaplen, M_DONTWAIT); if (m == NULL) {