mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 11:48:06 +02:00
device: fix a dad6_failed_addrs use-after-free
This commit is contained in:
parent
833e126cf8
commit
e02afcff09
1 changed files with 1 additions and 0 deletions
|
|
@ -7881,6 +7881,7 @@ queued_ip6_config_change (gpointer user_data)
|
||||||
nm_rdisc_dad_failed (priv->rdisc, &addr->address);
|
nm_rdisc_dad_failed (priv->rdisc, &addr->address);
|
||||||
}
|
}
|
||||||
g_slist_free_full (priv->dad6_failed_addrs, g_free);
|
g_slist_free_full (priv->dad6_failed_addrs, g_free);
|
||||||
|
priv->dad6_failed_addrs = NULL;
|
||||||
|
|
||||||
/* If no IPv6 link-local address exists but other addresses do then we
|
/* If no IPv6 link-local address exists but other addresses do then we
|
||||||
* must add the LL address to remain conformant with RFC 3513 chapter 2.1
|
* must add the LL address to remain conformant with RFC 3513 chapter 2.1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue