Skip to content

device: fix condition for restarting IP config after carrier change

Beniamino Galvani requested to merge bg/issue1165 into main

If an address family is waiting for carrier, it doesn't matter what the device state is, we should always restart IP configuration.

For example if IPv6 autoconf is waiting for carrier and IPv6 is may-fail=yes, the device could be already ACTIVATED because IPv4 succeeded; after getting carrier, we need to call nm_device_activate_schedule_stage3_ip_config() to start IPv6 autoconf.

Fixes: bcf31a9b ('device: fix assertion failure on master carrier change')

#1165 (closed)

Merge request reports