patch-2.1.101 linux/net/sunrpc/svcsock.c

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

diff -u --recursive --new-file v2.1.100/linux/net/sunrpc/svcsock.c linux/net/sunrpc/svcsock.c
@@ -905,7 +905,7 @@
 	}
 	type = (protocol == IPPROTO_UDP)? SOCK_DGRAM : SOCK_STREAM;
 
-	if ((error = sock_create(AF_INET, type, protocol, &sock)) < 0)
+	if ((error = sock_create(PF_INET, type, protocol, &sock)) < 0)
 		return error;
 
 	if (sin != NULL) {

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