From: Denis Kenzior <denkenz@gmail.com>
To: iwd@lists.01.org
Subject: Re: [PATCH v2 1/2] netconfig: add ACD client for static configuration
Date: Thu, 10 Dec 2020 22:20:47 +0000 [thread overview]
Message-ID: <f68e8699-ef76-78c8-730a-20dab69d6561@gmail.com> (raw)
In-Reply-To: <20201210212210.880245-1-prestwoj@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 997 bytes --]
Hi James,
On 12/10/20 3:22 PM, James Prestwood wrote:
> When the IP is configured to be static we can now use ACD in
> order to check that the IP is available and not already in
> use. If a conflict is found netconfig will be reset and no IP
> will be set on the interface. The ACD client is left with
> the default 'defend once' policy, and probes are not turned
> off. This will increase connection time, but for static IP's
> it is the best approach.
> ---
> src/netconfig.c | 94 +++++++++++++++++++++++++++++++++++++++----------
> 1 file changed, 76 insertions(+), 18 deletions(-)
>
> v2:
> * Added netconfig_reset_v4 to allow a failed ACD attempt to
> reset only the IPv4 data.
> * Distinguish between CONFLICT/LOST events. For conflicts
> no IP was ever set in the kernel, so we can just clean up
> the rtnl address directly. For LOST events an address was
> set, so it would need to be deleted.
>
Both applied, thanks
Regards,
-Denis
prev parent reply other threads:[~2020-12-10 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-10 21:22 [PATCH v2 1/2] netconfig: add ACD client for static configuration James Prestwood
2020-12-10 21:22 ` [PATCH v2 2/2] auto-t: add static netconfig test James Prestwood
2020-12-10 22:20 ` Denis Kenzior [this message]
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=f68e8699-ef76-78c8-730a-20dab69d6561@gmail.com \
--to=denkenz@gmail.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