patch-2.1.90 linux/net/netlink/af_netlink.c

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

diff -u --recursive --new-file v2.1.89/linux/net/netlink/af_netlink.c linux/net/netlink/af_netlink.c
@@ -147,7 +147,7 @@
 
 	sock->ops = &netlink_ops;
 
-	sk = sk_alloc(AF_NETLINK, GFP_KERNEL);
+	sk = sk_alloc(AF_NETLINK, GFP_KERNEL, 1);
 	if (!sk)
 		return -ENOMEM;
 

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