From: Johannes Berg Date: Wed, 12 Aug 2020 19:08:53 +0000 (+0200) Subject: ipv4: tunnel: fix compilation on ARCH=um X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=06a7a37be55e29961c9ba2abec4d07c8e0e21861;p=linux.git ipv4: tunnel: fix compilation on ARCH=um With certain configurations, a 64-bit ARCH=um errors out here with an unknown csum_ipv6_magic() function. Include the right header file to always have it. Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- diff --git a/net/ipv4/ip_tunnel_core.c b/net/ipv4/ip_tunnel_core.c index 75c6013ff9a41..5cb30b7aa7528 100644 --- a/net/ipv4/ip_tunnel_core.c +++ b/net/ipv4/ip_tunnel_core.c @@ -38,6 +38,7 @@ #include #include #include +#include const struct ip_tunnel_encap_ops __rcu * iptun_encaps[MAX_IPTUN_ENCAP_OPS] __read_mostly;