Thread (4 messages) flat view 4 messages, 4 authors, 2021-02-11

Re: [PATCH net-next] net: initialize net->net_cookie at netns setup

From: Lorenz Bauer <hidden>
Date: 2021-02-11 11:36:08

On Wed, 10 Feb 2021 at 14:41, Eric Dumazet [off-list ref] wrote:
From: Eric Dumazet <edumazet@google.com>

It is simpler to make net->net_cookie a plain u64
written once in setup_net() instead of looping
and using atomic64 helpers.

Lorenz Bauer wants to add SO_NETNS_COOKIE socket option
and this patch would makes his patch series simpler.
This is nice, thank you!

Tested-by: Lorenz Bauer <redacted>

--
Lorenz Bauer  |  Systems Engineer
6th Floor, County Hall/The Riverside Building, SE1 7PB, UK

www.cloudflare.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help