patch-1.3.26 linux/net/unix/af_unix.c

Next file: linux/scripts/ksymoops.cc
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.25/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -291,6 +291,7 @@
 	sk->broadcast=0;
 	sk->rcvbuf=SK_RMEM_MAX;
 	sk->sndbuf=SK_WMEM_MAX;
+	sk->allocation=GFP_KERNEL;
 	sk->inuse=0;
 	sk->debug=0;
 	sk->prot=NULL;
@@ -1094,7 +1095,7 @@
 
 void unix_proto_init(struct net_proto *pro)
 {
-	printk("NET3: Unix domain sockets 0.09 BETA for Linux NET3.030.\n");
+	printk("NET3: Unix domain sockets 0.10 BETA for Linux NET3.031.\n");
 	sock_register(unix_proto_ops.family, &unix_proto_ops);
 	proc_net_register(&(struct proc_dir_entry) {
 		PROC_NET_UNIX,  4, "unix",

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this