Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1334691 > unrolled thread
| Started by | Pablo Neira Ayuso <pablo@netfilter.org> |
|---|---|
| First post | 2016-02-15 19:20 +0100 |
| Last post | 2016-02-15 19:20 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] netfilter: tee: select NF_DUP_IPV6 unconditionally Pablo Neira Ayuso <pablo@netfilter.org> - 2016-02-15 19:20 +0100
| From | Pablo Neira Ayuso <pablo@netfilter.org> |
|---|---|
| Date | 2016-02-15 19:20 +0100 |
| Subject | Re: [PATCH] netfilter: tee: select NF_DUP_IPV6 unconditionally |
| Message-ID | <r2vUD-4Jg-41@gated-at.bofh.it> |
On Fri, Feb 05, 2016 at 10:20:21AM +0100, Arnd Bergmann wrote: > The NETFILTER_XT_TARGET_TEE option selects NF_DUP_IPV6 whenever > IP6_NF_IPTABLES is enabled, and it ensures that it cannot be > builtin itself if NF_CONNTRACK is a loadable module, as that > is a dependency for NF_DUP_IPV6. > > However, NF_DUP_IPV6 can be enabled even if IP6_NF_IPTABLES is > turned off, and it only really depends on IPV6. With the current > check in tee_tg6, we call nf_dup_ipv6() whenever NF_DUP_IPV6 > is enabled. This can however be a loadable module which is > unreachable from a built-in xt_TEE: > > net/built-in.o: In function `tee_tg6': > :(.text+0x67728): undefined reference to `nf_dup_ipv6' > > The bug was originally introduced in the split of the xt_TEE module > into separate modules for ipv4 and ipv6, and two patches tried > to fix it unsuccessfully afterwards. > > This is a revert of the the first incorrect attempt to fix it, > going back to depending on IPV6 as the dependency, and we > adapt the 'select' condition accordingly. Applied, thanks Arnd.
Back to top | Article view | linux.kernel
csiph-web