]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: compare all multipath route nexthops
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 13 Jul 2026 18:23:21 +0000 (19:23 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 15 Jul 2026 18:11:08 +0000 (19:11 +0100)
commitf65d4e6c4ea6d06aee995d46d7c9c39452859da8
tree5c87574cbef891d3e7790859ba035625592982c5
parentafff448cf47659a91a8b2ba74e26449dead48f32
network: compare all multipath route nexthops

The multipath route comparator looks up every nexthop in the first
route and hence compares each entry with itself. Compare both ordered
nexthop sets instead, including weights, as the hash function does.

Follow-up for 47420573a778e83f2bddd536cf185cd5829e8ba9
src/network/networkd-route-nexthop.c
src/network/test-networkd-conf.c