cvs commit: src/sys/net if_ethersubr.c

Joerg Wunsch joerg at FreeBSD.org
Thu Jun 24 05:33:27 PDT 2004


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


More information about the cvs-src mailing list