diff options
author | Cong Wang <amwang@redhat.com> | 2013-09-02 10:06:52 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-02 21:00:49 -0700 |
commit | 660d98cae0a474887bb5d66e60422addb4c6532c (patch) | |
tree | 9664a9afc02c7ab7cea4137aa87559e2f858a1c2 /drivers/net | |
parent | 8c1bb79fde8117cc36db075c2da238af703717d7 (diff) | |
download | blackbird-obmc-linux-660d98cae0a474887bb5d66e60422addb4c6532c.tar.gz blackbird-obmc-linux-660d98cae0a474887bb5d66e60422addb4c6532c.zip |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/vxlan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 0fcf3f768f6e..6b560f373fc3 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -44,6 +44,7 @@ #include <net/ipv6.h> #include <net/addrconf.h> #include <net/ip6_tunnel.h> +#include <net/ip6_checksum.h> #endif #define VXLAN_VERSION "0.1" |