Browse Source

net: ip_vs_proto_{tcp,udp} build fix

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stephen Rothwell 17 years ago
parent
commit
63f2c04648
2 changed files with 2 additions and 0 deletions
  1. 1 0
      net/ipv4/ipvs/ip_vs_proto_tcp.c
  2. 1 0
      net/ipv4/ipvs/ip_vs_proto_udp.c

+ 1 - 0
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>
 

+ 1 - 0
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,