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

Modified Files:
	src/sys/arch/xen/xen [netbsd-3]: 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.20 -r1.13.2.21 src/sys/arch/xen/xen/if_xennet.c
cvs rdiff -r1.4.2.7 -r1.4.2.8 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.