patch-2.1.90 linux/net/ipx/af_ipx.c

Next file: linux/net/netbeui/af_netbeui.c
Previous file: linux/net/ipv6/udp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.89/linux/net/ipx/af_ipx.c linux/net/ipx/af_ipx.c
@@ -1713,7 +1713,7 @@
 static int ipx_create(struct socket *sock, int protocol)
 {
 	struct sock *sk;
-	sk=sk_alloc(AF_IPX, GFP_KERNEL);
+	sk=sk_alloc(AF_IPX, GFP_KERNEL, 1);
 	if(sk==NULL)
 		return(-ENOMEM);
 	switch(sock->type)

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