Skip to content
Commit 09e67860 authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Benjamin Cabé
Browse files

net: ipv4: set NET_ADDR_PREFERRED before network event if !ACD



Set NET_ADDR_PREFERRED before network event is generated, so that conn_mgr
properly generates NET_EVENT_L4_CONNECTED and NET_EVENT_L4_IPV4_CONNECTED
events.

Fixes: 1a5e13a7 ("net: if: Release the interface lock early when
  starting IPv4 ACD")
Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
(cherry picked from commit 3fcd25c8)
parent ddf160a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment