summaryrefslogtreecommitdiffstats
path: root/net/ipv6/af_inet6.c
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 /net/ipv6/af_inet6.c
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 'net/ipv6/af_inet6.c')
-rw-r--r--net/ipv6/af_inet6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 95055f8c3f35..f018704ecb86 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -50,6 +50,7 @@
#include <net/ipip.h>
#include <net/protocol.h>
#include <net/inet_common.h>
+#include <net/route.h>
#include <net/transp_v6.h>
#include <net/ip6_route.h>
#include <net/addrconf.h>