Subject: CVS commit: [netbsd-1-6] src/sys/net
To: None <source-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: source-changes
Date: 06/30/2003 03:17:19
Module Name:	src
Committed By:	grant
Date:		Mon Jun 30 03:17:19 UTC 2003

Modified Files:
	src/sys/net [netbsd-1-6]: if_ether.h

Log Message:
Pull up revision 1.30 (requested by bouyer in ticket #1356):

Make promiscous mode work on vlans: introduce a new link-layer m_flag
M_PROMISC. In ether_input(), flag packets comming from an interface in
promiscous mode which are not for us M_PROMISC instead of droping them.
Drop M_PROMISC packets which are not passed to vlan_input(). M_PROMISC
packets passed to vlan_input() will be looped back to ether_input()
the M_PROMISC flag will be handled appropriately.
Clear M_PROMISC before giving the packet to bridge, as bridge has its
own checks for local MAC addresses.
This also makes bridges on vlan working.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.27.8.1 src/sys/net/if_ether.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.