net: ipv6: more places need LOOPBACK_IFINDEX for flowi6_iif
authorJulian Anastasov <ja@ssi.bg>
Mon, 28 Apr 2014 07:51:56 +0000 (10:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Apr 2014 18:47:03 +0000 (14:47 -0400)
commite374c618b1465f0292047a9f4c244bd71ab5f1f0
treeb6eab50bf0d9bf655128edf7f13c5359c806a215
parent8c2eab9097dba50bcd73ed4632baccc3f34857f9
net: ipv6: more places need LOOPBACK_IFINDEX for flowi6_iif

To properly match iif in ip rules we have to provide
LOOPBACK_IFINDEX in flowi6_iif, not 0. Some ip6mr_fib_lookup
and fib6_rule_lookup callers need such fix.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c
net/ipv6/netfilter/ip6t_rpfilter.c
net/ipv6/route.c