]> 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)
commitb96335afea142ecfbe6026d1cefc5b6ab74a4cb9
treeb6eab50bf0d9bf655128edf7f13c5359c806a215
parent562749930ed25eae93a10fe68cca360a94a715de
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