patch-2.2.0-pre3 linux/net/ipx/af_spx.c

Next file: linux/Documentation/Configure.help
Previous file: linux/net/ipv4/tcp_input.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre2/linux/net/ipx/af_spx.c linux/net/ipx/af_spx.c
@@ -85,7 +85,11 @@
 {
 	struct sock *sk;
 
-	sk = sk_alloc(PF_IPX, GFP_KERNEL, 1);
+	/*
+	 *	Called on connection receive so cannot be GFP_KERNEL
+	 */
+	 
+	sk = sk_alloc(PF_IPX, GFP_ATOMIC, 1);
 	if(sk == NULL)
                 return (-ENOMEM);
 


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