]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: nexthop: update ID of nexthop created without specifiying ID
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 5 Feb 2021 01:09:12 +0000 (10:09 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Feb 2021 07:41:52 +0000 (08:41 +0100)
commitbfe6043454da12ef4e48856974b44fafc0b7028f
tree289d653b4e4fbda086e37f1f41c921c1d333ecd8
parentf345918d8d2a50a7bd071cf2ed864ac5cc909467
network: nexthop: update ID of nexthop created without specifiying ID

Otherwise, nexthop_configure() -> nexthop_add() creates NextHop object
without ID in link->nexthop, and then, manager_rtnl_process_nexthop() ->
nexthop_add_foreign() also creates another NextHop object with ID in
link->nexthop_foreign.
src/network/networkd-nexthop.c