diff options
author | Harald Welte <laforge@netfilter.org> | 2005-08-09 22:42:34 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:36:19 -0400 |
commit | 2cc7d5730957c4a3f3659d17d2ba5e06d5581c1f (patch) | |
tree | c2c3d03d8120831d487bb8fcc73e5dcbe13aebea /net/ipv6/af_inet6.c | |
parent | 4fdb3bb723db469717c6d38fda667d8b0fa86ebd (diff) |
[NETFILTER]: Move reroute-after-queue code up to the nf_queue layer.
The rerouting functionality is required by the core, therefore it has
to be implemented by the core and not in individual queue handlers.
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 28d9bcab0970..574047353628 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/netdevice.h> | 44 | #include <linux/netdevice.h> |
45 | #include <linux/icmpv6.h> | 45 | #include <linux/icmpv6.h> |
46 | #include <linux/smp_lock.h> | 46 | #include <linux/smp_lock.h> |
47 | #include <linux/netfilter_ipv6.h> | ||
47 | 48 | ||
48 | #include <net/ip.h> | 49 | #include <net/ip.h> |
49 | #include <net/ipv6.h> | 50 | #include <net/ipv6.h> |
@@ -757,6 +758,9 @@ static int __init inet6_init(void) | |||
757 | err = igmp6_init(&inet6_family_ops); | 758 | err = igmp6_init(&inet6_family_ops); |
758 | if (err) | 759 | if (err) |
759 | goto igmp_fail; | 760 | goto igmp_fail; |
761 | err = ipv6_netfilter_init(); | ||
762 | if (err) | ||
763 | goto netfilter_fail; | ||
760 | /* Create /proc/foo6 entries. */ | 764 | /* Create /proc/foo6 entries. */ |
761 | #ifdef CONFIG_PROC_FS | 765 | #ifdef CONFIG_PROC_FS |
762 | err = -ENOMEM; | 766 | err = -ENOMEM; |
@@ -813,6 +817,8 @@ proc_tcp6_fail: | |||
813 | raw6_proc_exit(); | 817 | raw6_proc_exit(); |
814 | proc_raw6_fail: | 818 | proc_raw6_fail: |
815 | #endif | 819 | #endif |
820 | ipv6_netfilter_fini(); | ||
821 | netfilter_fail: | ||
816 | igmp6_cleanup(); | 822 | igmp6_cleanup(); |
817 | igmp_fail: | 823 | igmp_fail: |
818 | ndisc_cleanup(); | 824 | ndisc_cleanup(); |
@@ -852,6 +858,7 @@ static void __exit inet6_exit(void) | |||
852 | ip6_route_cleanup(); | 858 | ip6_route_cleanup(); |
853 | ipv6_packet_cleanup(); | 859 | ipv6_packet_cleanup(); |
854 | igmp6_cleanup(); | 860 | igmp6_cleanup(); |
861 | ipv6_netfilter_fini(); | ||
855 | ndisc_cleanup(); | 862 | ndisc_cleanup(); |
856 | icmpv6_cleanup(); | 863 | icmpv6_cleanup(); |
857 | #ifdef CONFIG_SYSCTL | 864 | #ifdef CONFIG_SYSCTL |