Merge 1.82:

Fix fallout from revision 1.77, mark outgoing packets with M_VLANTAG flag.

  PR:		kern/80646
  Reviewed by:	yar

Approved by:	re (scottl)
This commit is contained in:
glebius 2005-09-02 14:06:26 +00:00
parent 6cfeae252f
commit 9015847fb5

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