patch-2.3.1 linux/net/socket.c

Next file: linux/net/sunrpc/clnt.c
Previous file: linux/net/netlink/af_netlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/net/socket.c linux/net/socket.c
@@ -283,7 +283,7 @@
 	inode->i_gid = current->fsgid;
 
 	sock->inode = inode;
-	init_waitqueue(&sock->wait);
+	init_waitqueue_head(&sock->wait);
 	sock->fasync_list = NULL;
 	sock->state = SS_UNCONNECTED;
 	sock->flags = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)