From: Tim Kourt <tim.a.kourt@linux.intel.com>
To: iwd@lists.01.org
Subject: [PATCH] netconfig: Don't clear IPv6 addresses on shutdown
Date: Wed, 09 Oct 2019 15:43:33 -0700 [thread overview]
Message-ID: <20191009224333.28884-1-tim.a.kourt@linux.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
Unlike IPv4, the IPv6 address are removed by the kernel.
---
src/netconfig.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/netconfig.c b/src/netconfig.c
index c48e25b1..c4785fb6 100644
--- a/src/netconfig.c
+++ b/src/netconfig.c
@@ -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);
--
2.13.6
next reply other threads:[~2019-10-09 22:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-09 22:43 Tim Kourt [this message]
2019-10-09 22:53 ` [PATCH] netconfig: Don't clear IPv6 addresses on shutdown Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191009224333.28884-1-tim.a.kourt@linux.intel.com \
--to=tim.a.kourt@linux.intel.com \
--cc=iwd@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox