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: 1e06cb37fe ("xfrm: Don't accidentally set RTO_ONLINK in decode_session4()")
Fixes: e895140826 ("xfrm: fix policy lookup for ipv6 gre packets")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ia09ea8d4439ec276716396f40dc82c0958624690
This commit is contained in:
Greg Kroah-Hartman 2022-01-31 15:14:24 +01:00
parent b3174205cf
commit a075d1beb1

View File

@ -31,10 +31,14 @@
#include <linux/if_tunnel.h>
#include <net/dst.h>
#include <net/flow.h>
#ifndef __GENKSYMS__
#include <net/inet_ecn.h>
#endif
#include <net/xfrm.h>
#include <net/ip.h>
#ifndef __GENKSYMS__
#include <net/gre.h>
#endif
#if IS_ENABLED(CONFIG_IPV6_MIP6)
#include <net/mip6.h>
#endif