On 2/10/21 3:41 PM, Eric Dumazet wrote:
From: Eric Dumazet <[email protected]>

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 <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Lorenz Bauer <[email protected]>

Acked-by: Daniel Borkmann <[email protected]>

Reply via email to