Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 05/06/2007 02:47:53
Module Name:	src
Committed By:	dyoung
Date:		Sun May  6 02:47:52 UTC 2007

Modified Files:
	src/sys/net: if_gre.c if_gre.h

Log Message:
Switch from spl(9) to mutex(9) and condvar(9).

Fix a defect in the locking of file descriptors as we delegate a
UDP socket from userland to the kernel.  Move sc_fp out of sc_soparm.
Synchronize access to sc_fp by gre_ioctl() and the kernel thread
using a condition variable.  For simplicity's sake, make it the
kernel helper thread's responsibility to close its UDP socket.


To generate a diff of this commit:
cvs rdiff -r1.92 -r1.93 src/sys/net/if_gre.c
cvs rdiff -r1.21 -r1.22 src/sys/net/if_gre.h

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