diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-25 07:42:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-31 08:23:24 (GMT) |
commit | aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb (patch) | |
tree | 923980b7bb6d9f06970ed21b961f547e33e2eb28 /net | |
parent | 01e67d08faa782f1a4d38de702331f5904def6ad (diff) | |
download | linux-fsl-qoriq-aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb.tar.xz |
[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 b8bab89..64a3751 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); |