PERFORCE change 53832 for review

Robert Watson rwatson at FreeBSD.org
Sun May 30 18:28:10 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=53832

Change 53832 by rwatson at rwatson_paprika on 2004/05/30 18:27:17

	Integrate netperf_socket from CVS HEAD:
	
	- Fix for NFS server system call running Giant-free.

Affected files ...

.. //depot/projects/netperf_socket/sys/nfsserver/nfs_srvsubs.c#6 integrate

Differences ...

==== //depot/projects/netperf_socket/sys/nfsserver/nfs_srvsubs.c#6 (text+ko) ====

@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/nfsserver/nfs_srvsubs.c,v 1.127 2004/05/24 04:06:14 rwatson Exp $");
+__FBSDID("$FreeBSD: src/sys/nfsserver/nfs_srvsubs.c,v 1.128 2004/05/31 00:59:10 rwatson Exp $");
 
 /*
  * These functions support the macros and help fiddle mbuf chains for
@@ -551,7 +551,7 @@
 		nfsrv_timer(0);
 
 		nfs_prev_nfssvc_sy_narg = sysent[SYS_nfssvc].sy_narg;
-		sysent[SYS_nfssvc].sy_narg = 2;
+		sysent[SYS_nfssvc].sy_narg = 2 | SYF_MPSAFE;
 		nfs_prev_nfssvc_sy_call = sysent[SYS_nfssvc].sy_call;
 		sysent[SYS_nfssvc].sy_call = (sy_call_t *)nfssvc;
 		break;


More information about the p4-projects mailing list