summaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorBrian Haley <brian.haley@hp.com>2006-08-31 15:03:36 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:18:42 -0700
commit18adaf067cf013fc2690d3830eba99ff800795b4 (patch)
tree7762a71eca108238e8f49cf9a7dc3eb7589331a6 /net/unix
parent7a42c2175703f54a3640f25dc078c8190a4f904e (diff)
downloadlinux-18adaf067cf013fc2690d3830eba99ff800795b4.tar.gz
linux-18adaf067cf013fc2690d3830eba99ff800795b4.tar.bz2
linux-18adaf067cf013fc2690d3830eba99ff800795b4.zip
[AF_UNIX]: Change max_dgram_qlen sysctl to __read_mostly
Signed-off-by: Brian Haley <brian.haley@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
-rw-r--r--net/unix/af_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 7c91c2024d49..b43a27828df5 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -117,7 +117,7 @@
#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);