PERFORCE change 119258 for review
Marko Zec
zec at FreeBSD.org
Fri May 4 23:31:11 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=119258
Change 119258 by zec at zec_tca51 on 2007/05/04 23:30:18
A step towards being able to initiate NFS mounts from
non-default vnets (and this actually works now).
Affected files ...
.. //depot/projects/vimage/src/sys/nfsclient/nfs_socket.c#5 edit
Differences ...
==== //depot/projects/vimage/src/sys/nfsclient/nfs_socket.c#5 (text+ko) ====
@@ -265,7 +265,11 @@
int error, rcvreserve, sndreserve;
int pktscale;
struct sockaddr *saddr;
+#ifdef VIMAGE
+ struct thread *td = curthread; /* XXX is this safe? */
+#else
struct thread *td = &thread0; /* only used for socreate and sobind */
+#endif
NET_LOCK_GIANT();
More information about the p4-projects
mailing list