Skip to content

Commit 660d98c

Browse files
Cong Wangdavem330
authored andcommitted
vxlan: include net/ip6_checksum.h for csum_ipv6_magic()
Fengguang reported a compile warning: drivers/net/vxlan.c: In function 'vxlan6_xmit_skb': drivers/net/vxlan.c:1352:3: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors this patch fixes it. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8c1bb79 commit 660d98c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/net/vxlan.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include <net/ipv6.h>
4545
#include <net/addrconf.h>
4646
#include <net/ip6_tunnel.h>
47+
#include <net/ip6_checksum.h>
4748
#endif
4849

4950
#define VXLAN_VERSION "0.1"

0 commit comments

Comments
 (0)