From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: linux-next: net tree build failure Date: Sat, 13 Sep 2008 15:03:26 +1000 Message-ID: <20080913150326.245fbb6f.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from chilli.pcug.org.au ([203.10.76.44]:55397 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384AbYIMFDg (ORCPT ); Sat, 13 Sep 2008 01:03:36 -0400 Sender: linux-next-owner@vger.kernel.org List-ID: To: David Miller Cc: linux-next@vger.kernel.org, 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 Date: Sat, 13 Sep 2008 14:37:04 +1000 Subject: [PATCH] net: ip_vs_proto_tcp build fix Signed-off-by: Stephen Rothwell --- 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 /* for tcphdr */ #include #include /* for csum_tcpudp_magic */ +#include #include #include 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 #include +#include 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