lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 28 Oct 2014 17:59:06 +0900
From:	Erik Kline <>
To:	Lorenzo Colitti <>
Cc:	"" <>,
	David Miller <>,
	Ben Hutchings <>,
	Hannes Frederic Sowa <>
Subject: Re: [PATCH net-next] net: ipv6: Add a sysctl to make optimistic
 addresses useful candidates

>>          *      Configure the address for reception. Now it is valid.
>>          */
>> -       ipv6_ifa_notify(RTM_NEWADDR, ifp);
>> +       /* If optimistic DAD is in use, the notification was already sent
>> +        * in addrconf_dad_begin().
>> +        */
>> +       if (!ipv6_use_optimistic_addr(ifp->idev))
>> +               ipv6_ifa_notify(RTM_NEWADDR, ifp);
> Won't this result in not sending RTM_NEWADDR messages if
> use_optimistic is enabled on the interface, but the IP address that
> has just completed DAD is not an optimistic address (e.g., if it's a
> manually-configured address)?

Gah, yes.  I originally unconditionally sent the RTM_NEWADDR, but
there was some concern about sending duplicates so this was a weak
attempt to reduce spurious messages.

I still think sending the RTM_NEWADDR unconditionally is the right
thing, since we send them all the time when something about the
address changes (including timer-refresh on receipt of RAs).

I'll revert that bit and send an updated patch ASAP.

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists