Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2003 15:01:23 -0800 (PST)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 43695 for review
Message-ID:  <200312092301.hB9N1N6n033250@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=43695

Change 43695 by sam@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312092301.hB9N1N6n033250>