Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 12/18/1998 13:40:14
Module Name:	src
Committed By:	thorpej
Date:		Fri Dec 18 21:40:14 UTC 1998

Modified Files:
	src/sys/kern: uipc_mbuf.c
Log Message:
Reverse the stopgap change made in revision 1.29:

date: 1998/08/01 01:47:24;  author: thorpej;  state: Exp;  lines: +18 -8
Don't call the protocol drain routines if how == M_NOWAIT, which typically
means we're in interrupt context.  Since we can be called from a network
hardware interrupt, we could corrupt the protocol queues we try to drain
them at that time.

The problem has been addressed by letting the drain'able protocols use
a locking scheme to prevent queue corruption.