[XFRM]: xfrm_larval_drop sysctl should be __read_mostly.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 25 May 2007 07:42:49 +0000 (00:42 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 31 May 2007 08:23:24 +0000 (01:23 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c

index b8bab89616a069e22ff82c7fac1d00d44acef9c3..64a375178c5f28b2b4adb61ed9a76a62a9e15a09 100644 (file)
 #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);