Petr Machata 918ee5073b 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 <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-12 11:07:15 -04:00
..
2018-02-06 10:32:13 +01:00
2018-02-10 13:16:35 -08:00
2018-03-09 13:00:08 -05:00
2018-02-02 10:01:04 -08:00
2018-02-03 13:07:56 -08:00
2018-03-01 14:32:23 -08:00
2018-02-07 13:10:43 -08:00