diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-25 00:42:49 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-31 01:23:24 -0700 |
commit | aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb (patch) | |
tree | 923980b7bb6d9f06970ed21b961f547e33e2eb28 /net | |
parent | 01e67d08faa782f1a4d38de702331f5904def6ad (diff) | |
download | linux-stable-aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb.tar.gz linux-stable-aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb.tar.bz2 linux-stable-aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb.zip |
[XFRM]: xfrm_larval_drop sysctl should be __read_mostly.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index b8bab89616a0..64a375178c5f 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -26,10 +26,11 @@ #include <net/xfrm.h> #include <net/ip.h> #include <linux/audit.h> +#include <linux/cache.h> #include "xfrm_hash.h" -int sysctl_xfrm_larval_drop; +int sysctl_xfrm_larval_drop __read_mostly; DEFINE_MUTEX(xfrm_cfg_mutex); EXPORT_SYMBOL(xfrm_cfg_mutex); |