change max_dgram_qlen sysctl to __read_mostly
Subsystems (3)
PATCH 1/1 change max_dgram_qlen sysctl to __read_mostly
Change AF_UNIX sysctl_unix_max_dgram_qlen to __read_mostly.
Signed-off-by Brian Haley <[email protected]>
net/unix/af_unix.c +1 -1
@@ -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);
From: Brian Haley <[email protected]>
Date: Thu, 31 Aug 2006 16:35:37 -0400
Quoted 3 lines
Change
AF_UNIXsysctl_unix_max_dgram_qlento__read_mostly.Signed-off-by Brian Haley <[email protected]>
Applied.