network/nexthop: do not remove depending nexthops when a nexthop is removed
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Nov 2024 04:51:49 +0000 (13:51 +0900)
committerLuca Boccassi <bluca@debian.org>
Mon, 11 Nov 2024 13:59:41 +0000 (13:59 +0000)
commit1ca180b994bc6a299450894ea3c836e434c8db72
treef594ff19fd46becba686f9a783554b1c4aad1eb4
parent422e418ab9ab30e87179b4190c07a3d6cbe25e31
network/nexthop: do not remove depending nexthops when a nexthop is removed

Previously, when a nexthop is removed, depending nexthops were removed, but
that's not necessary, as the kernel keeps them, at least with v6.11.
src/network/networkd-nexthop.c
test/test-network/systemd-networkd-tests.py