lists.openwall.net   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] [thread-next>] [day] [month] [year] [list]
Message-ID: <1413580764.27176.12.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Fri, 17 Oct 2014 14:19:24 -0700
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	David Miller <davem@...emloft.net>
Cc:	tgraf@...g.ch, sgunderson@...foot.com,
	linux-kernel@...r.kernel.org, nikolay@...hat.com
Subject: Re: getaddrinfo slowdown in 3.17.1, due to getifaddrs

On Fri, 2014-10-17 at 12:30 -0400, David Miller wrote:

> Can I ask a serious question?  What is the synchronize_net() in AF_NETLINK
> exactly needed for?

__netlink_lookup() calls rhashtable_lookup_compare()

So you really want that any object found in this lookup respects
rcu grace period before being freed.

RCU contract is pretty clear about deletions of objects.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ