net: Align ip_multipath_l3_keys and ip6_multipath_l3_keys
authorDavid Ahern <dsahern@gmail.com>
Fri, 2 Mar 2018 16:32:13 +0000 (08:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 18:04:21 +0000 (13:04 -0500)
commit6f74b6c259158d89ad258cda8e86240e01052884
treed699755e3d90c8108fc4263bb437be62b8c9f9e8
parent7efc0b6b666d757e07417f59397e7f5f340e74e0
net: Align ip_multipath_l3_keys and ip6_multipath_l3_keys

Symmetry is good and allows easy comparison that ipv4 and ipv6 are
doing the same thing. To that end, change ip_multipath_l3_keys to
set addresses at the end after the icmp compares, and move the
initialization of ipv6 flow keys to rt6_multipath_hash.

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>
net/ipv4/route.c
net/ipv6/route.c