]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: roll back ipv6ll_address on link_ipv6ll_gained() failure 42745/head
authordongshengyuan <545258830@qq.com>
Thu, 25 Jun 2026 08:19:14 +0000 (16:19 +0800)
committerdongshengyuan <545258830@qq.com>
Thu, 25 Jun 2026 08:19:14 +0000 (16:19 +0800)
commit32165a1a480402eb49a433eb15883624b2dd6cad
tree6c92a25c790918ba791781405441ff8b7e344df8
parentda0252110cf04e570d558f3a8cfa30cc5741609d
network: roll back ipv6ll_address on link_ipv6ll_gained() failure

If link_ipv6ll_gained() fails after ipv6ll_address is set, the address
remains non-null and the null-guard in address_update() never triggers
again, permanently suppressing SLAAC, DHCPv6 and RA on that link.

Clear ipv6ll_address on the failure path so the guard can fire when
the address is re-announced.

Signed-off-by: dongshengyuan <dongshengyuan@uniontech.com>
src/network/networkd-address.c