Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2012 23:45:27 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Kohji Okuno <okuno.kohji@jp.panasonic.com>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: About 802.1Q tag
Message-ID:  <20121126194527.GN84121@FreeBSD.org>
In-Reply-To: <20121126.095414.2127926346996476541.okuno.kohji@jp.panasonic.com>
References:  <20121126.095414.2127926346996476541.okuno.kohji@jp.panasonic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121126194527.GN84121>