aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBrian Haley <brian.haley@hp.com>2006-08-31 18:03:36 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:18:42 -0400
commit18adaf067cf013fc2690d3830eba99ff800795b4 (patch)
tree7762a71eca108238e8f49cf9a7dc3eb7589331a6 /net/unix/af_unix.c
parent7a42c2175703f54a3640f25dc078c8190a4f904e (diff)
[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/af_unix.c')
-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 @@
117#include <net/checksum.h> 117#include <net/checksum.h>
118#include <linux/security.h> 118#include <linux/security.h>
119 119
120int sysctl_unix_max_dgram_qlen = 10; 120int sysctl_unix_max_dgram_qlen __read_mostly = 10;
121 121
122struct hlist_head unix_socket_table[UNIX_HASH_SIZE + 1]; 122struct hlist_head unix_socket_table[UNIX_HASH_SIZE + 1];
123DEFINE_SPINLOCK(unix_table_lock); 123DEFINE_SPINLOCK(unix_table_lock);