Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 12/25/2004 07:24:17
Module Name:	src
Committed By:	dyoung
Date:		Sat Dec 25 07:24:17 UTC 2004

Modified Files:
	src/sys/dev/ic: rtw.c

Log Message:
IMPORTANT: set m->m_pkthdr.rcvif on rx'd packets.  Illegal memory
references abound without this fix.

In rtw_intr_rx, skip to the next rx packet earlier if the rx packet
length is too short.

Also in rtw_intr_rx, if a packet is rx'd with unknown rate, printf
a warning, drop the packet, recycle the rx buffer, skip to next rx
packet.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/dev/ic/rtw.c

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