diff options
| author | Brian Haley <brian.haley@hp.com> | 2006-08-31 18:03:36 -0400 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:18:42 -0400 |
| commit | 18adaf067cf013fc2690d3830eba99ff800795b4 (patch) | |
| tree | 7762a71eca108238e8f49cf9a7dc3eb7589331a6 | |
| parent | 7a42c2175703f54a3640f25dc078c8190a4f904e (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>
| -rw-r--r-- | net/unix/af_unix.c | 2 |
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 | ||
| 120 | int sysctl_unix_max_dgram_qlen = 10; | 120 | int sysctl_unix_max_dgram_qlen __read_mostly = 10; |
| 121 | 121 | ||
| 122 | struct hlist_head unix_socket_table[UNIX_HASH_SIZE + 1]; | 122 | struct hlist_head unix_socket_table[UNIX_HASH_SIZE + 1]; |
| 123 | DEFINE_SPINLOCK(unix_table_lock); | 123 | DEFINE_SPINLOCK(unix_table_lock); |
