]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: include net/ip6_checksum.h for csum_ipv6_magic()
authorCong Wang <amwang@redhat.com>
Mon, 2 Sep 2013 02:06:52 +0000 (10:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Sep 2013 04:00:49 +0000 (21:00 -0700)
commit4524405336df86d0cb705da30f97341a6c21a8de
tree9664a9afc02c7ab7cea4137aa87559e2f858a1c2
parentc5b088463903256032f5ce1f5fde2567899349f8
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>
drivers/net/vxlan.c