patch-2.1.90 linux/net/x25/af_x25.c
Next file: linux/CREDITS
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Tue Mar 10 09:47:28 1998
-  Orig file: 
v2.1.89/linux/net/x25/af_x25.c
-  Orig date: 
Tue Mar 10 10:03:37 1998
diff -u --recursive --new-file v2.1.89/linux/net/x25/af_x25.c linux/net/x25/af_x25.c
@@ -423,7 +423,7 @@
 	struct sock *sk;
 	x25_cb *x25;
 
-	if ((sk = sk_alloc(AF_X25, GFP_ATOMIC)) == NULL)
+	if ((sk = sk_alloc(AF_X25, GFP_ATOMIC, 1)) == NULL)
 		return NULL;
 
 	if ((x25 = kmalloc(sizeof(*x25), GFP_ATOMIC)) == NULL) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov