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

net: ipv6: set NET_ADDR_PREFERRED before network event if !DAD



Set NET_ADDR_PREFERRED before network event is generated, so that conn_mgr
properly generates NET_EVENT_L4_CONNECTED and NET_EVENT_L4_IPV6_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 7290dd2a)
parent 09e67860
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment