Re: About 802.1Q tag

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Mon, 26 Nov 2012 23:45:27 +0400
  Kohji,

On Mon, Nov 26, 2012 at 09:54:14AM +0900, Kohji Okuno wrote:
K> Would someone check the following code?
K> 
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> 
K> And, in line 611-637, because of the kernel refers old eh pointer, the
K> kernel will misjudges its ether packet.
K> 
K> I think that `eh = mtod(m, struct ether_header *);' is needed after
K> line 580.

Committed, thanks!

-- 
Totus tuus, Glebius.
Received on Mon Nov 26 2012 - 18:45:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC