Skip to content

Commit

Permalink
[AF_UNIX]: Change max_dgram_qlen sysctl to __read_mostly
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Brian Haley authored and David S. Miller committed Sep 22, 2006
1 parent 7a42c21 commit 18adaf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/unix/af_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 18adaf0

Please sign in to comment.