netfilter: don't set F_IFACE on ipv6 fib lookups
authorFlorian Westphal <fw@strlen.de>
Wed, 14 Feb 2018 23:23:05 +0000 (00:23 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 25 Feb 2018 19:15:53 +0000 (20:15 +0100)
commit47b7e7f82802dced3ac73658bf4b77584a63063f
tree2f7da12fa07b876dbfd2c433452f636f70420e05
parent2412d897c2c34ab5a9834a2dc472512d96e485ef
netfilter: don't set F_IFACE on ipv6 fib lookups

"fib" starts to behave strangely when an ipv6 default route is
added - the FIB lookup returns a route using 'oif' in this case.

This behaviour was inherited from ip6tables rpfilter so change
this as well.

Bugzilla: https://bugzilla.netfilter.org/show_bug.cgi?id=1221
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv6/netfilter/ip6t_rpfilter.c
net/ipv6/netfilter/nft_fib_ipv6.c