Fix fallout from revision 1.77, mark outgoing packets with M_VLANTAG flag.
PR: kern/80646 Reviewed by: yar MFC after: 3 days
This commit is contained in:
parent
33eafb83b7
commit
ba26134b19
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149619
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user