mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-08 14:23:19 +00:00
[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:
parent
7a42c21757
commit
18adaf067c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user