diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-25 09:42:49 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-31 10:23:24 +0200 |
commit | aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb (patch) | |
tree | 923980b7bb6d9f06970ed21b961f547e33e2eb28 /net/xfrm | |
parent | [XFRM]: Allow XFRM_ACQ_EXPIRES to be tunable via sysctl. (diff) | |
download | linux-aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb.tar.xz linux-aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb.zip |
[XFRM]: xfrm_larval_drop sysctl should be __read_mostly.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-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); |