Re: [PATCH v2 net-next 01/10] net/ipv4: Pass net to fib_multipath_hash instead of fib_info

2018-03-02 Thread David Ahern
On 3/2/18 6:12 AM, Ido Schimmel wrote: > On Thu, Mar 01, 2018 at 07:29:41PM -0800, David Ahern wrote: >> fib_multipath_hash only needs net struct to check a sysctl. Make it >> clear by passing net instead of fib_info. In the need this allows >> alignment between the ipv4 and ipv6 versions. >> >>

Re: [PATCH v2 net-next 01/10] net/ipv4: Pass net to fib_multipath_hash instead of fib_info

2018-03-02 Thread Ido Schimmel
On Thu, Mar 01, 2018 at 07:29:41PM -0800, David Ahern wrote: > fib_multipath_hash only needs net struct to check a sysctl. Make it > clear by passing net instead of fib_info. In the need this allows > alignment between the ipv4 and ipv6 versions. > > Signed-off-by: David Ahern

[PATCH v2 net-next 01/10] net/ipv4: Pass net to fib_multipath_hash instead of fib_info

2018-03-01 Thread David Ahern
fib_multipath_hash only needs net struct to check a sysctl. Make it clear by passing net instead of fib_info. In the need this allows alignment between the ipv4 and ipv6 versions. Signed-off-by: David Ahern --- include/net/ip_fib.h | 5 +++-- net/ipv4/fib_semantics.c | 2