1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

sd-ipv4acd: fix assertion triggered when an ARP received in STARTED state

When a network is busy, an ARP may be received before the timer event
source triggered first time.

Fixes #34489.
This commit is contained in:
Yu Watanabe 2024-09-20 09:58:12 +09:00 committed by Daan De Meyer
parent 81b4d68153
commit 146b44d0a0

View File

@ -396,6 +396,7 @@ static int ipv4acd_on_packet(
}
break;
case IPV4ACD_STATE_STARTED:
case IPV4ACD_STATE_WAITING_PROBE:
case IPV4ACD_STATE_PROBING:
case IPV4ACD_STATE_WAITING_ANNOUNCE: