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
..
2017-07-11 06:08:58 -04:00
2018-01-19 14:02:12 -05:00
2017-11-27 16:20:04 -05:00
2017-04-05 10:15:20 +02:00
2018-02-27 13:30:53 +01:00
2016-07-08 12:20:57 +02:00
2016-04-25 16:44:27 -04:00
2016-04-25 16:44:27 -04:00
2018-03-04 13:34:18 -05:00
2018-02-06 11:32:48 -05:00
2018-02-28 11:43:28 -05:00
2018-03-04 13:04:22 -05:00
2017-10-11 09:49:34 +02:00
2017-11-16 10:49:00 +09:00
2017-12-11 14:10:06 -05:00
2016-04-27 22:48:25 -04:00
2018-03-04 13:04:22 -05:00
2017-12-15 12:34:00 -05:00
2018-02-28 11:43:28 -05:00
2016-08-17 19:36:23 -04:00
2016-10-03 02:00:22 -04:00
2016-07-08 12:20:57 +02:00
2017-11-08 16:12:33 +09:00
2016-03-23 22:09:58 -04:00
2017-12-05 14:37:13 -05:00
2017-12-04 11:32:53 -05:00
2018-02-21 14:24:14 -05:00
2017-11-27 16:20:04 -05:00
2018-01-17 16:07:24 -05:00
2018-02-28 11:43:28 -05:00