net/ipv4: Pass net to fib_multipath_hash instead of fib_info
authorDavid Ahern <dsahern@gmail.com>
Fri, 2 Mar 2018 16:32:12 +0000 (08:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 18:04:21 +0000 (13:04 -0500)
commit7efc0b6b666d757e07417f59397e7f5f340e74e0
treef150d12efdeeb5fa92d52c3ac2524b692f4487e9
parente871cae7927ba5d86508066a5f4bec0ea1d7eb95
net/ipv4: Pass net to fib_multipath_hash instead of fib_info

fib_multipath_hash only needs net struct to check a sysctl. Make it
clear by passing net instead of fib_info. In the end this allows
alignment between the ipv4 and ipv6 versions.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_semantics.c
net/ipv4/route.c