Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 07/05/2006 23:51:50
Module Name:	src
Committed By:	wrstuden
Date:		Wed Jul  5 23:51:50 UTC 2006

Modified Files:
	src/sys/dev/pci: if_wm.c

Log Message:
Fix len=-4 issues.

When receiving a packet, if a receive buffer has length 0,
treat it the same way we treat a failed mapping.

Fix contributed by Wasabi Systems.


To generate a diff of this commit:
cvs rdiff -r1.123 -r1.124 src/sys/dev/pci/if_wm.c

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