]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c3a7f7b19f7f0f80adaf0f3db1823fd32398ad8
treeb6eab50bf0d9bf655128edf7f13c5359c806a215
parent855534fb807589298a488c4301be2b351b48a2e0
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