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-Url: https://git.stricted.de/?a=commitdiff_plain;h=aad0e0b9b6e4f7085d5e2ec4b5bb59ffecd8b1fb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 b8bab89616a0..64a375178c5f 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);