commit | 1d053da910947afccec96d90892c0f5488c7a9cf | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Wed May 09 20:34:21 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri May 11 00:10:56 2018 +0200 |
tree | f442067352f034fadf90177ed8f3a605b7a4e596 | |
parent | 3b290a31bbc5969f9193f73d547a6dc8a25c6f9e [diff] |
net/ipv6: Extract table lookup from ip6_pol_route ip6_pol_route is used for ingress and egress FIB lookups. Refactor it moving the table lookup into a separate fib6_table_lookup that can be invoked separately and export the new function. ip6_pol_route now calls fib6_table_lookup and uses the result to generate a dst based rt6_info. Signed-off-by: David Ahern <dsahern@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>