]> err.no Git - linux-2.6/commitdiff
[AF_UNIX]: Change max_dgram_qlen sysctl to __read_mostly
authorBrian Haley <brian.haley@hp.com>
Thu, 31 Aug 2006 22:03:36 +0000 (15:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:42 +0000 (15:18 -0700)
Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c

index 7c91c2024d4947457e98eb8473b168ce248c6f1d..b43a27828df5d4486d2f397baac2792eb23d4215 100644 (file)
 #include <net/checksum.h>
 #include <linux/security.h>
 
-int sysctl_unix_max_dgram_qlen = 10;
+int sysctl_unix_max_dgram_qlen __read_mostly = 10;
 
 struct hlist_head unix_socket_table[UNIX_HASH_SIZE + 1];
 DEFINE_SPINLOCK(unix_table_lock);