Commit 18adaf06 authored by Brian Haley's avatar Brian Haley Committed by David S. Miller

[AF_UNIX]: Change max_dgram_qlen sysctl to __read_mostly

Signed-off-by: default avatarBrian Haley <brian.haley@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7a42c217
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
#include <net/checksum.h> #include <net/checksum.h>
#include <linux/security.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]; struct hlist_head unix_socket_table[UNIX_HASH_SIZE + 1];
DEFINE_SPINLOCK(unix_table_lock); DEFINE_SPINLOCK(unix_table_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment