[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>
This commit is contained in:
Brian Haley 2006-08-31 15:03:36 -07:00 committed by David S. Miller
parent 7a42c21757
commit 18adaf067c

View File

@ -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);