patch-2.1.116 linux/net/sunrpc/auth_unix.c

Next file: linux/net/sunrpc/sched.c
Previous file: linux/net/packet/af_packet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.115/linux/net/sunrpc/auth_unix.c linux/net/sunrpc/auth_unix.c
@@ -178,6 +178,11 @@
 	base = p++;
 	*p++ = htonl(jiffies/HZ);
 #ifndef DONT_FILLIN_HOSTNAME
+	/*
+	 *	Problem: The UTS name could change under us. We can't lock
+	 *	here to handle this. On the other hand we can't really
+	 *	go building a bad RPC!
+	 */
 	if ((n = strlen((char *) system_utsname.nodename)) > UNX_MAXNODENAME)
 		n = UNX_MAXNODENAME;
 	*p++ = htonl(n);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov