]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_dup_ipv6: set again FLOWI_FLAG_KNOWN_NH at flowi6_flags
authorPaolo Abeni <pabeni@redhat.com>
Thu, 26 May 2016 17:08:10 +0000 (19:08 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 May 2016 10:21:23 +0000 (12:21 +0200)
commitf3e1d3ba43eba1746b6a15b74537742152b0ff55
treee93865f604dddf1a411a400f1e1c7718c000b9ae
parent0ea7cb6f861bd9188353dee9f50d3f093bfdf1b5
netfilter: nf_dup_ipv6: set again FLOWI_FLAG_KNOWN_NH at flowi6_flags

With the commit e29fcf1c5e3a ("ipv6: Set FLOWI_FLAG_KNOWN_NH at
flowi6_flags") ip6_pol_route() callers were asked to to set the
FLOWI_FLAG_KNOWN_NH properly and xt_TEE was updated accordingly,
but with the later refactor in commit b9d5880b36ae ("netfilter:
factor out packet duplication for IPv4/IPv6") the flowi6_flags
update was lost.
This commit re-add it just before the routing decision.

Fixes: b9d5880b36ae ("netfilter: factor out packet duplication for IPv4/IPv6")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv6/netfilter/nf_dup_ipv6.c