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:
Gleb Smirnoff 2005-08-30 14:14:08 +00:00
parent 33eafb83b7
commit ba26134b19
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149619

View File

@ -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) {