patch-2.0.1 linux/net/socket.c

Next file: linux/Documentation/Changes
Previous file: linux/net/ipv4/tcp_output.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/net/socket.c linux/net/socket.c
@@ -778,7 +778,7 @@
 		sock_release(newsock);
 		return(-EINVAL);
 	}
-	sock->file=current->files->fd[fd];
+	newsock->file=current->files->fd[fd];
 	
 	if (upeer_sockaddr)
 	{


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