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

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

flat view

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2021-02-10 14:51:20

On 2/10/21 3:41 PM, Eric Dumazet wrote:
From: Eric Dumazet <redacted>

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.

Signed-off-by: Eric Dumazet <redacted>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Lorenz Bauer <redacted>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help