Skip to content

Commit 06a7a37

Browse files
jmberg-inteldavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1980c05 commit 06a7a37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/ipv4/ip_tunnel_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <net/geneve.h>
3939
#include <net/vxlan.h>
4040
#include <net/erspan.h>
41+
#include <net/ip6_checksum.h>
4142

4243
const struct ip_tunnel_encap_ops __rcu *
4344
iptun_encaps[MAX_IPTUN_ENCAP_OPS] __read_mostly;

0 commit comments

Comments
 (0)