ANDROID: GKI: fix up crc change in ip.h

Commit 92071a2b8f7f ("net: lwtunnel: handle MTU calculation in
forwading") was backported to 5.10.50 and it caused a crc change in
include/net/ip.h due to a new .h file being included.

No real abi change happened here, so just #ifdef the .h file out when
doing the crc check.

Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I1bad0458bc0f9130239fc94ca982e800681cd443
This commit is contained in:
Greg Kroah-Hartman
2021-07-14 20:15:43 +02:00
parent 11b396dfd9
commit a3cd27f5c4

View File

@@ -31,7 +31,9 @@
#include <net/flow.h>
#include <net/flow_dissector.h>
#include <net/netns/hash.h>
#ifndef __GENKSYMS__
#include <net/lwtunnel.h>
#endif
#define IPV4_MAX_PMTU 65535U /* RFC 2675, Section 5.1 */
#define IPV4_MIN_MTU 68 /* RFC 791 */