From a075d1beb11de991342abbf7a01d23cac3c906cd Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 31 Jan 2022 15:14:24 +0100 Subject: [PATCH] ANDROID: Fix CRC issue up with xfrm headers in 5.4.174 Two changes to net/xfrm/xfrm_policy.c in the 5.4.174 release ended up changing the CRC for a xfrm function, despite no actual change happening. Fix this up by putting __GENKSYMS__ bounds on the include files to preserve the CRC. Bug: 161946584 Fixes: 1e06cb37febe ("xfrm: Don't accidentally set RTO_ONLINK in decode_session4()") Fixes: e89514082668 ("xfrm: fix policy lookup for ipv6 gre packets") Signed-off-by: Greg Kroah-Hartman Change-Id: Ia09ea8d4439ec276716396f40dc82c0958624690 --- net/xfrm/xfrm_policy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 404823c5eb7d..20f0ca0d2da5 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -31,10 +31,14 @@ #include #include #include +#ifndef __GENKSYMS__ #include +#endif #include #include +#ifndef __GENKSYMS__ #include +#endif #if IS_ENABLED(CONFIG_IPV6_MIP6) #include #endif