Date: Wed, 24 Nov 2004 16:45:06 +0200 From: Iasen Kostov <tbyte@OTEL.net> To: Robert Watson <rwatson@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: setting promisc mode kills vlans on devices with hwtagging (em, re ...) Message-ID: <41A49E72.6090102@OTEL.net> In-Reply-To: <Pine.NEB.3.96L.1041123222732.98085D-100000@fledge.watson.org> References: <Pine.NEB.3.96L.1041123222732.98085D-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote: >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 > > > >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > > Thanks a lot. This will save me from lots of problems and now I can remove aliases like 'alias tcpdump="tcpdump -p"' :). Thanks again. Regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A49E72.6090102>