linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: net tree build failure
@ 2008-09-13  5:03 Stephen Rothwell
  2008-09-13  6:24 ` David Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stephen Rothwell @ 2008-09-13  5:03 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, Julius Volz, Simon Horman

Hi Dave,

Today's linux-next build (powerpc allyesconfig) failed like this:

net/ipv4/ipvs/ip_vs_proto_tcp.c: In function 'tcp_snat_handler':
net/ipv4/ipvs/ip_vs_proto_tcp.c:208: error: implicit declaration of function 'csum_ipv6_magic'
net/ipv4/ipvs/ip_vs_proto_udp.c: In function 'udp_snat_handler':
net/ipv4/ipvs/ip_vs_proto_udp.c:219: error: implicit declaration of function 'csum_ipv6_magic'

Introduced by commit 0bbdd42b7efa66685b6d74701bcde3a596a3a59d ("IPVS:
Extend protocol DNAT/SNAT and state handlers") which added a call to
csum_ipv6_magic but didn't include net/ip6_checksum.h.  I applied the
following patch.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Sat, 13 Sep 2008 14:37:04 +1000
Subject: [PATCH] net: ip_vs_proto_tcp build fix

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 net/ipv4/ipvs/ip_vs_proto_tcp.c |    1 +
 net/ipv4/ipvs/ip_vs_proto_udp.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/net/ipv4/ipvs/ip_vs_proto_tcp.c b/net/ipv4/ipvs/ip_vs_proto_tcp.c
index 537f616..dd4566e 100644
--- a/net/ipv4/ipvs/ip_vs_proto_tcp.c
+++ b/net/ipv4/ipvs/ip_vs_proto_tcp.c
@@ -18,6 +18,7 @@
 #include <linux/tcp.h>                  /* for tcphdr */
 #include <net/ip.h>
 #include <net/tcp.h>                    /* for csum_tcpudp_magic */
+#include <net/ip6_checksum.h>
 #include <linux/netfilter.h>
 #include <linux/netfilter_ipv4.h>
 
diff --git a/net/ipv4/ipvs/ip_vs_proto_udp.c b/net/ipv4/ipvs/ip_vs_proto_udp.c
index e3ee26b..6eb6039 100644
--- a/net/ipv4/ipvs/ip_vs_proto_udp.c
+++ b/net/ipv4/ipvs/ip_vs_proto_udp.c
@@ -22,6 +22,7 @@
 
 #include <net/ip_vs.h>
 #include <net/ip.h>
+#include <net/ip6_checksum.h>
 
 static struct ip_vs_conn *
 udp_conn_in_get(int af, const struct sk_buff *skb, struct ip_vs_protocol *pp,
-- 
1.5.6.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-15 19:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-13  5:03 linux-next: net tree build failure Stephen Rothwell
2008-09-13  6:24 ` David Miller
2008-09-13  9:42   ` Stephen Rothwell
2008-09-13 15:04 ` linux-next: net tree build failure (depca) Randy Dunlap
2008-09-14 20:49   ` Harvey Harrison
2008-09-15 18:59     ` Greg KH
2008-09-15  0:54 ` linux-next: net tree build failure Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).