summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-09-20 02:58:12 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-09-20 14:21:42 +0200
commit146b44d0a0001712ced2f22ca76d242eedac26ad (patch)
tree94ea9fe5134f1d9df141a84bdd39a15c257f02b8
parentNEWS: fix typos and remove backticks (diff)
downloadsystemd-146b44d0a0001712ced2f22ca76d242eedac26ad.tar.xz
systemd-146b44d0a0001712ced2f22ca76d242eedac26ad.zip
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.
-rw-r--r--src/libsystemd-network/sd-ipv4acd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/sd-ipv4acd.c b/src/libsystemd-network/sd-ipv4acd.c
index 51d2b2219d..423e043253 100644
--- a/src/libsystemd-network/sd-ipv4acd.c
+++ b/src/libsystemd-network/sd-ipv4acd.c
@@ -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: