summaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorKOVACS Krisztian2008-10-01 16:33:10 +0200
committerDavid S. Miller2008-10-01 16:33:10 +0200
commit1668e010cbe1a7567c81d4c02d31dde9859e9da1 (patch)
treef3505d22a93ed9a4b6140a7f98a9d4cc2c1f66e9 /include/net/ip_vs.h
parentipv4: Allow binding to non-local addresses if IP_TRANSPARENT is set (diff)
downloadkernel-qcow2-linux-1668e010cbe1a7567c81d4c02d31dde9859e9da1.tar.gz
kernel-qcow2-linux-1668e010cbe1a7567c81d4c02d31dde9859e9da1.tar.xz
kernel-qcow2-linux-1668e010cbe1a7567c81d4c02d31dde9859e9da1.zip
ipv4: Make inet_sock.h independent of route.h
inet_iif() in inet_sock.h requires route.h. Since users of inet_iif() usually require other route.h functionality anyway this patch moves inet_iif() to route.h. Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r--include/net/ip_vs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 33e2ac6ceb3e..0b2071d9326d 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -22,6 +22,7 @@
#include <net/checksum.h>
#include <linux/netfilter.h> /* for union nf_inet_addr */
+#include <linux/ip.h>
#include <linux/ipv6.h> /* for struct ipv6hdr */
#include <net/ipv6.h> /* for ipv6_addr_copy */