Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2004 22:28:13 +0000 (GMT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Iasen Kostov <tbyte@OTEL.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: setting promisc mode kills vlans on devices with hwtagging (em, re ...)
Message-ID:  <Pine.NEB.3.96L.1041123222732.98085D-100000@fledge.watson.org>
In-Reply-To: <Pine.NEB.3.96L.1041123221854.98085B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Nov 2004, Robert Watson wrote:

> On Tue, 23 Nov 2004, Iasen Kostov wrote:
> 
> > if you setup a vlan devices with parent one of emX or reX (this what I
> > have at the moment)  which has hardware vlan tagging just try to run
> > tcpdump (without -p) and the vlans will die :). That doesn't happen with
> > parent devices not supporting hwtagging. And this totally excludes
> > possibility to run a bridge over vlans with parent device which support
> > hwtaggs.  And something else was observed with re driver - it is
> > impossible to disable hwtaggs by -vlanhwtag neither you can disable vlan
> > mtu :).
> 
> I recently fixed this bug in if_em in HEAD, and will be merging that
> back to RELENG_5 shortly.  We plan to also merge the change to
> RELENG_5_3 as an errata patch fix.  It does not surprise me that if_re
> has a similar bug;  I'll look at abstracting the solution in the next
> few days. 

I've now merged the fix to RELENG_5 from HEAD:

  Checking in if_em.c;
  /home/ncvs/src/sys/dev/em/if_em.c,v  <--  if_em.c
  new revision: 1.44.2.4; previous revision: 1.44.2.3
  done
  Checking in if_em.h;
  /home/ncvs/src/sys/dev/em/if_em.h,v  <--  if_em.h
  new revision: 1.25.2.2; previous revision: 1.25.2.1
  done

I'll take a look at if_re shortly.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041123222732.98085D-100000>