From: David S. Miller Date: Fri, 25 May 2007 07:42:49 +0000 (-0700) Subject: [XFRM]: xfrm_larval_drop sysctl should be __read_mostly. X-Git-Tag: v2.6.22-rc4~70^2~18 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb;p=linux-2.6-omap-h63xx.git [XFRM]: xfrm_larval_drop sysctl should be __read_mostly. Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index b8bab89616a..64a375178c5 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -26,10 +26,11 @@ #include #include #include +#include #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);