Re: About 802.1Q tag

2012-11-26 Thread Gleb Smirnoff
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, be

Re: About 802.1Q tag

2012-11-26 Thread YongHyeon PYUN
On Mon, Nov 26, 2012 at 09:54:14AM +0900, Kohji Okuno wrote: > Hi, > > Would someone check the following code? > > If the hardware do not process an 802.1Q tag, the kernel repacks mbuf > in line 578-580. But, `struct ether_header *eh' was assigned at line 484. > > And, in line 611-637, because o

About 802.1Q tag

2012-11-25 Thread Kohji Okuno
Hi, Would someone check the following code? If the hardware do not process an 802.1Q tag, the kernel repacks mbuf in line 578-580. But, `struct ether_header *eh' was assigned at line 484. And, in line 611-637, because of the kernel refers old eh pointer, the kernel will misjudges its ether packe