diff options
author | David Ahern <dsahern@gmail.com> | 2019-03-28 06:53:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-29 20:48:04 +0300 |
commit | 6d3d07b45c86f984424ccbad110ca500397fd18c (patch) | |
tree | 7aac7cce0700beb2e4e0e01cb50c00968cabf1f3 /tools/perf/scripts/python | |
parent | 2b2450ca4a2d9d772dc45e1220c04cb3ba761843 (diff) | |
download | linux-6d3d07b45c86f984424ccbad110ca500397fd18c.tar.xz |
ipv6: Refactor fib6_ignore_linkdown
fib6_ignore_linkdown takes a fib6_info but only looks at the net_device
and its IPv6 config. Change it to take a net_device over a fib6_info as
its input argument.
In addition, move it to a header file to make the check inline and usable
later with IPv4 code without going through the ipv6 stub, and rename to
ip6_ignore_linkdown since it is only checking the setting based on the
ipv6 struct on a device.
Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions