From: Andrew Zaborowski <andrew.zaborowski@intel.com>
To: Denis Kenzior <denkenz@gmail.com>
Cc: ell@lists.linux.dev
Subject: Re: [PATCH 7/7] netconfig: Control optimistic DAD
Date: Tue, 20 Sep 2022 01:56:51 +0200 [thread overview]
Message-ID: <CAOq732JQmp_GuQagrvcksZZCrqDcUyQTDwdxbBu3WEPetahn1Q@mail.gmail.com> (raw)
In-Reply-To: <393c900e-f48c-d397-8388-51e5ca25050b@gmail.com>
Hi Denis,
On Mon, 19 Sept 2022 at 20:59, Denis Kenzior <denkenz@gmail.com> wrote:
> > @@ -1724,7 +1737,8 @@ static void netconfig_ifaddr_ipv6_added(struct l_netconfig *nc,
> > struct in6_addr in6;
> > _auto_(l_free) char *ip = NULL;
> >
> > - if (ifa->ifa_flags & IFA_F_TENTATIVE)
> > + if ((ifa->ifa_flags & IFA_F_TENTATIVE) &&
> > + !(ifa->ifa_flags & IFA_F_OPTIMISTIC))
> > return;
>
> This implies that we set the link local address even if it is still OPTIMISTIC.
> Do we now need to update icmp6_send_router_solicitation() logic to make sure
> we do not include SLLAO from optimistic addresses?
Good point. I'll add an extra l_icmp6_client_set_link_local_address()
parameter to indicate whether the address is optimistic and make sure
we call it again after DAD finishes.
Best regards
prev parent reply other threads:[~2022-09-19 23:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-19 13:30 [PATCH 1/7] icmp6: Save SLAAC prefixes from RAs Andrew Zaborowski
2022-09-19 13:31 ` [PATCH 2/7] icmp6: Parse RDNSS and DNSSL options Andrew Zaborowski
2022-09-19 13:31 ` [PATCH 3/7] icmp6: Switch socket from AF_INET6 to AF_PACKET Andrew Zaborowski
2022-09-19 13:31 ` [PATCH 4/7] rtnl: Add l_rtnl_address_get_in_addr Andrew Zaborowski
2022-09-19 13:31 ` [PATCH 5/7] netconfig: Decouple icmp6 start from dhcp6 start Andrew Zaborowski
2022-09-19 13:31 ` [PATCH 6/7] netconfig: Create SLAAC address Andrew Zaborowski
2022-09-19 13:31 ` [PATCH 7/7] netconfig: Control optimistic DAD Andrew Zaborowski
2022-09-19 18:43 ` Denis Kenzior
2022-09-19 23:56 ` Andrew Zaborowski [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=CAOq732JQmp_GuQagrvcksZZCrqDcUyQTDwdxbBu3WEPetahn1Q@mail.gmail.com \
--to=andrew.zaborowski@intel.com \
--cc=denkenz@gmail.com \
--cc=ell@lists.linux.dev \
/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;
as well as URLs for NNTP newsgroup(s).