Date: Thu, 24 Jun 2004 12:31:44 +0000 (UTC) From: Joerg Wunsch <joerg@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_ethersubr.c Message-ID: <200406241231.i5OCViDQ070928@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 2004-06-24 12:31:44 UTC
FreeBSD src repository
Modified files:
sys/net if_ethersubr.c
Log:
When considering an ethernet frame that is not destined for us, do not
only allow this to be further processed when bridging is active on
that interface, but also if the current packet has a VLAN tag and
VLANs are active on our interface. This gives the VLAN layers a
chance to also consider the packet (and perhaps drop it instead of the
main dispatcher).
This fixes a situation where bridging was only active on VLAN
interfaces but ether_demux() called on behalf of the main interface
had already thrown the packet away.
MFC after: 4 weeks
Revision Changes Path
1.174 +9 -3 src/sys/net/if_ethersubr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406241231.i5OCViDQ070928>
