patch-2.1.90 linux/net/netbeui/af_netbeui.c

Next file: linux/net/netlink/af_netlink.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.89/linux/net/netbeui/af_netbeui.c linux/net/netbeui/af_netbeui.c
@@ -150,7 +150,7 @@
 static int netbeui_create(struct socket *sock, int protocol)
 {
 	netbeui_socket *sk;
-	sk=(netbeui_socket *)sk_alloc(GFP_KERNEL);
+	sk=(netbeui_socket *)sk_alloc(GFP_KERNEL, 1);
 	if(sk==NULL)
 		return(-ENOBUFS);
 	switch(sock->type)

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