Hi all,
After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:
drivers/net/vxlan.c: In function 'vxlan6_xmit_skb':
drivers/net/vxlan.c:1441:3: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration]
uh->check = csum_ipv6_magic(saddr, daddr, skb->len,
^
Caused by commit e4c7ed415387 ("vxlan: add ipv6 support").
Please read Rule 1 in Documentation/SubmitChecklist.
I added the following patch for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Sep 2013 19:04:51 +1000
Subject: [PATCH] vxlan: include the file that declares csum_ipv6_magic
Signed-off-by: Stephen Rothwell <[email protected]>
---
drivers/net/vxlan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 3ffb22d..35c78b3 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"
--
1.8.4.rc3
--
Cheers,
Stephen Rothwell [email protected]
On Mon, 2013-09-02 at 19:11 +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the final tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> drivers/net/vxlan.c: In function 'vxlan6_xmit_skb':
> drivers/net/vxlan.c:1441:3: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration]
> uh->check = csum_ipv6_magic(saddr, daddr, skb->len,
> ^
>
> Caused by commit e4c7ed415387 ("vxlan: add ipv6 support").
>
> Please read Rule 1 in Documentation/SubmitChecklist.
>
> I added the following patch for today:
Hi, Stephen
I sent a same patch this morning:
http://marc.info/?l=linux-netdev&m=137808763132336&w=2
Thanks!