Subject: CVS commit: syssrc/sys/dev/ofw
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 09/18/2002 04:47:08
Module Name:	syssrc
Committed By:	chs
Date:		Wed Sep 18 01:47:08 UTC 2002

Modified Files:
	syssrc/sys/dev/ofw: ofnet.c

Log Message:
use splnet() around the body of ofnet_read().  this is logically the
receive interrupt handler since it passes received packets to the
interface's input handler.  that ends up scheduling a network softint
and queuing the packet on the interface's receive queue (in that order),
so if softnet isn't blocked at this point then softnet() doesn't find
the packet until it's triggered again by something else.
remove all vesitages of dk_establish().


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 syssrc/sys/dev/ofw/ofnet.c

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