PERFORCE change 43695 for review

Sam Leffler sam at FreeBSD.org
Tue Dec 9 15:01:25 PST 2003


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

Change 43695 by sam at sam_ebb on 2003/12/09 15:00:38

	o remove Giant assertions

Affected files ...

.. //depot/projects/netperf+sockets/sys/nfsserver/nfs_srvsock.c#3 edit
.. //depot/projects/netperf+sockets/sys/nfsserver/nfs_syscalls.c#3 edit

Differences ...

==== //depot/projects/netperf+sockets/sys/nfsserver/nfs_srvsock.c#3 (text+ko) ====

@@ -425,8 +425,6 @@
 		goto dorecs;
 	}
 #endif
-	GIANT_REQUIRED;		/* XXX until socket locking is done */
-
 	auio.uio_td = NULL;
 	if (so->so_type == SOCK_STREAM) {
 		/*
@@ -727,8 +725,6 @@
 	struct sockaddr *sendnam;
 	int error, soflags, flags;
 
-	GIANT_REQUIRED;		/* XXX until socket locking is done */
-
 	soflags = so->so_proto->pr_flags;
 	if ((soflags & PR_CONNREQUIRED) || (so->so_state & SS_ISCONNECTED))
 		sendnam = NULL;

==== //depot/projects/netperf+sockets/sys/nfsserver/nfs_syscalls.c#3 (text+ko) ====

@@ -199,8 +199,6 @@
 	struct socket *so;
 	int error, s;
 
-	GIANT_REQUIRED;		/* XXX until socket locking done */
-
 	so = fp->f_data;
 #if 0
 	tslp = NULL;


More information about the p4-projects mailing list