3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

netconfig: Don't clear IPv6 addresses on shutdown

Unlike IPv4, the IPv6 address are removed by the kernel.
This commit is contained in:
Tim Kourt 2019-10-09 15:43:33 -07:00 committed by Denis Kenzior
parent 2d02816efd
commit 8168b22233

View File

@ -1111,9 +1111,6 @@ void netconfig_destroy(struct netconfig *netconfig)
if (netconfig->rtm_protocol)
netconfig_ipv4_select_and_uninstall(netconfig);
if (netconfig->rtm_v6_protocol)
netconfig_ipv6_select_and_uninstall(netconfig);
if (netconfig->rtm_protocol || netconfig->rtm_v6_protocol)
resolve_remove(netconfig->ifindex);