29c29
< __FBSDID("$FreeBSD: head/sys/kern/kern_mbuf.c 159481 2006-06-10 14:34:07Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/kern/kern_mbuf.c 162377 2006-09-17 13:44:32Z andre $");
153d152
< uma_zone_t zone_mtag_vlan;
166d164
< static int mt_zinit_vlan(void *, int, int);
247,252d244
< zone_mtag_vlan = uma_zcreate("mtag_vlan",
< sizeof(struct m_tag) + sizeof(u_int),
< NULL, NULL,
< mt_zinit_vlan, NULL,
< UMA_ALIGN_INT, 0);
<
327a320,321
> m->m_pkthdr.tso_segsz = 0;
> m->m_pkthdr.ether_vtag = 0;
525a520,521
> m->m_pkthdr.tso_segsz = 0;
> m->m_pkthdr.ether_vtag = 0;
539,555d534
< static void
< mt_vlan_free(struct m_tag *mtag)
< {
< uma_zfree(zone_mtag_vlan, mtag);
< }
<
< static int
< mt_zinit_vlan(void *mem, int size, int how)
< {
< struct m_tag *mtag = (struct m_tag *)mem;
<
< m_tag_setup(mtag, MTAG_VLAN, MTAG_VLAN_TAG, sizeof(u_int));
< mtag->m_tag_free = mt_vlan_free;
<
< return (0);
< }
<
< __FBSDID("$FreeBSD: head/sys/kern/kern_mbuf.c 159481 2006-06-10 14:34:07Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/kern/kern_mbuf.c 162377 2006-09-17 13:44:32Z andre $");
153d152
< uma_zone_t zone_mtag_vlan;
166d164
< static int mt_zinit_vlan(void *, int, int);
247,252d244
< zone_mtag_vlan = uma_zcreate("mtag_vlan",
< sizeof(struct m_tag) + sizeof(u_int),
< NULL, NULL,
< mt_zinit_vlan, NULL,
< UMA_ALIGN_INT, 0);
<
327a320,321
> m->m_pkthdr.tso_segsz = 0;
> m->m_pkthdr.ether_vtag = 0;
525a520,521
> m->m_pkthdr.tso_segsz = 0;
> m->m_pkthdr.ether_vtag = 0;
539,555d534
< static void
< mt_vlan_free(struct m_tag *mtag)
< {
< uma_zfree(zone_mtag_vlan, mtag);
< }
<
< static int
< mt_zinit_vlan(void *mem, int size, int how)
< {
< struct m_tag *mtag = (struct m_tag *)mem;
<
< m_tag_setup(mtag, MTAG_VLAN, MTAG_VLAN_TAG, sizeof(u_int));
< mtag->m_tag_free = mt_vlan_free;
<
< return (0);
< }
<