Subject: CVS commit: [netbsd-3-0] src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 02/05/2006 17:02:15
Module Name:	src
Committed By:	riz
Date:		Sun Feb  5 17:02:15 UTC 2006

Modified Files:
	src/sys/arch/xen/xen [netbsd-3-0]: if_xennet.c xennetback.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1155):
	sys/arch/xen/xen/if_xennet.c: revision 1.42 via patch
	sys/arch/xen/xen/xennetback.c: revision 1.20 via patch
Check the destination ethernet address when not in promiscous mode.
Fix problem where packets would be duplicated, possibly looping, when
a domU is doing IP routing.
Problem reported and fix tested by Mike M. Volokhov on port-xen

While there, add some __predict_false/true in conditionnals where
appropriate, remove a always-true test, and fix handling of
mbuf shortage.


To generate a diff of this commit:
cvs rdiff -r1.13.2.15.2.1 -r1.13.2.15.2.2 src/sys/arch/xen/xen/if_xennet.c
cvs rdiff -r1.4.2.6 -r1.4.2.6.2.1 src/sys/arch/xen/xen/xennetback.c

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