]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f301a34544b46bdc148888008b3831418554349
treed699755e3d90c8108fc4263bb437be62b8c9f9e8
parent3246a928e92fd3d0b661beb142423fc49b11987c
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