[PATCH] Linux: Simplify __opensock and fix race condition [BZ #28353]

Florian Weimer fweimer@redhat.com
Mon Sep 27 18:52:12 GMT 2021


* Andreas Schwab:

> On Sep 27 2021, Florian Weimer via Libc-alpha wrote:
>
>> AF_NETLINK support is not quite optional on modern Linux systems
>> anymore, so it is likely that the first attempt will always succeed.
>> Consequently, there is no need to cache the result.  Keep AF_UNIX
>> and the Internet address families as a fallback, for the rare case
>> that AF_NETLINK is fixing.
>
> Fixing what?

Sorry, “is missing”.  Thanks for pointing out the mistake.

Florian



More information about the Libc-alpha mailing list