patch-2.2.8 linux/net/sunrpc/xprt.c
Next file: linux/net/unix/af_unix.c
Previous file: linux/net/sunrpc/svcsock.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Tue May 4 10:29:07 1999
- Orig file:
v2.2.7/linux/net/sunrpc/xprt.c
- Orig date:
Tue Mar 23 14:35:48 1999
diff -u --recursive --new-file v2.2.7/linux/net/sunrpc/xprt.c linux/net/sunrpc/xprt.c
@@ -200,6 +200,7 @@
msg.msg_name = (struct sockaddr *) &xprt->addr;
msg.msg_namelen = sizeof(xprt->addr);
msg.msg_control = NULL;
+ msg.msg_controllen = 0;
/* Dont repeat bytes */
@@ -256,6 +257,7 @@
msg.msg_name = &sin;
msg.msg_namelen = sizeof(sin);
msg.msg_control = NULL;
+ msg.msg_controllen = 0;
oldfs = get_fs(); set_fs(get_ds());
result = sock_recvmsg(sock, &msg, len, MSG_DONTWAIT);
@@ -268,6 +270,7 @@
msg.msg_name = &sin;
msg.msg_namelen = sizeof(sin);
msg.msg_control = NULL;
+ msg.msg_controllen = 0;
oldfs = get_fs(); set_fs(get_ds());
result = sock->ops->recvmsg(sock, &msg, len, 1, 0, &alen);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)