Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src/sys/net



Module Name:    src
Committed By:   riz
Date:           Tue Feb 27 23:16:42 UTC 2007

Modified Files:
        src/sys/net [netbsd-4]: if_ethersubr.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #465):
        sys/net/if_ethersubr.c: revision 1.144
Drop M_PROMISC before passing the packet to a carp device, for the same
reason it's dropped before passing to bridge: when a vlan interface is
in promisc mode, it will loop the packet back to ether_input() with
M_PROMISC set, and when carp calls ether_input again the flag is still
there and the packet is dropped. If the carp interface doesn't take
the packet M_PROMISC is set just after is needed anyway.
Tested on a box with multiple carp on vlans, no comments about this patch
on tech-net@


To generate a diff of this commit:
cvs rdiff -r1.139.2.1 -r1.139.2.2 src/sys/net/if_ethersubr.c

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




Home | Main Index | Thread Index | Old Index