Skip to content
Commit 4ebf802c authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: __sock_gen_cookie() cleanup



Adopt atomic64_try_cmpxchg() and remove the loop,
to make the intent more obvious.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4ffa1d1c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment