About 802.1Q tag

Gleb Smirnoff glebius at FreeBSD.org
Mon Nov 26 19:45:30 UTC 2012


On Mon, Nov 26, 2012 at 09:54:14AM +0900, Kohji Okuno wrote:
K> Would someone check the following code?
K> If the hardware do not process an 802.1Q tag, the kernel repacks mbuf
K> in line 578-580. But, `struct ether_header *eh' was assigned at line 484.
K> And, in line 611-637, because of the kernel refers old eh pointer, the
K> kernel will misjudges its ether packet.
K> I think that `eh = mtod(m, struct ether_header *);' is needed after
K> line 580.

Committed, thanks!

Totus tuus, Glebius.

More information about the freebsd-current mailing list