]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: Add flags and table id to ip6_nh_lookup_table
authorDavid Ahern <dsahern@gmail.com>
Fri, 26 Jan 2018 00:55:08 +0000 (16:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jan 2018 15:16:42 +0000 (10:16 -0500)
commit8627075a96ec8cfab83c3ddfd298c5fb6553ff4b
tree143bdbd15200fac5455f420fe928ed84cc2c56e8
parent3432ec359d3c93d12c517c4b390b69b2de18f259
net/ipv6: Add flags and table id to ip6_nh_lookup_table

onlink verification needs to do a lookup in potentially different
table than the table in fib6_config and without the RT6_LOOKUP_F_IFACE
flag. Change ip6_nh_lookup_table to take table id and flags as input
arguments. Both verifications want to ignore link state, so add that
flag can stay in the lookup helper.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c