cvs commit: src/sys/dev/bge if_bge.c

Jung-uk Kim jkim at
Tue Sep 19 11:27:59 PDT 2006

On Tuesday 19 September 2006 12:32 pm, John Baldwin wrote:
> On Monday 18 September 2006 18:18, Jung-uk Kim wrote:
> > jkim        2006-09-18 22:18:22 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/dev/bge          if_bge.c
> >   Log:
> >   Do not strip VLAN tag in promiscuous mode.
> Why did you change this?  Does bge not work correctly with both
> enabled?

It does work.  Only problem is that VLAN tags are stripped before 
reaching bpf.  Thus, applications like tcpdump and wireshark don't 
see the VLAN tags.

As I said earlier, it is just a stopgap until we teach bpf to insert 
VLAN tags back.  In fact, my intention was to MFC this before 6.2 
release and to fix -CURRENT when we have correct implementation 
because I don't think we can add the 'feature' in time.  If every one 
dislikes this, I have no problem backing it out, of course.

Jung-uk Kim

More information about the cvs-src mailing list