cvs commit: src/sys/net if_ethersubr.c

Maxim Konovalov maxim at FreeBSD.org
Thu Jun 24 08:09:07 PDT 2004


On Thu, 24 Jun 2004, 12:33-0000, Joerg Wunsch wrote:

> 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

kern/46961

I had a workaround for ages but never completed it, thanks!


More information about the cvs-src mailing list