diff options
| author | Petr Machata <[email protected]> | 2018-03-11 09:45:47 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-03-12 11:07:15 -0400 |
| commit | 918ee5073b0e253649083d731a88588b5c1723a3 (patch) | |
| tree | 425c07f80a2358d362f91a0524ec02d26a474598 /tools/perf/scripts/python | |
| parent | 129cf5f7f19658db343edbdfbda5b95d2756cb2a (diff) | |
net: ipv6: Introduce ip6_multipath_hash_policy()
In order to abstract away access to the
ipv6.sysctl.multipath_hash_policy variable, which is not available on
systems compiled without IPv6 support, introduce a wrapper function
ip6_multipath_hash_policy() that falls back to 0 on non-IPv6 systems.
Use this wrapper from mlxsw/spectrum_router instead of a direct
reference.
Signed-off-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Acked-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions