Re: [PATCH net-next 1/3] net: ipv6: Introduce ip6_multipath_hash_policy()

2018-03-11 Thread David Ahern
On 3/11/18 12:45 AM, Ido Schimmel wrote: > From: Petr Machata > > 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 >

[PATCH net-next 1/3] net: ipv6: Introduce ip6_multipath_hash_policy()

2018-03-10 Thread Ido Schimmel
From: Petr Machata 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