Eric Dumazet b548b17a93 tcp: tcp_wfree() refactoring
Use try_cmpxchg() (instead of cmpxchg()) in a more readable way.

oval = smp_load_acquire(&sk->sk_tsq_flags);
do {
	...
} while (!try_cmpxchg(&sk->sk_tsq_flags, &oval, nval));

Reduce indentation level.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20221110190239.3531280-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-11-11 21:38:03 -08:00
..
2022-11-11 21:34:55 -08:00
2022-11-11 18:33:04 -08:00
2022-11-03 15:16:50 +01:00
2022-11-11 21:38:03 -08:00
2022-11-11 21:19:47 -08:00
2022-11-02 11:58:13 +00:00
2022-08-22 14:26:30 +01:00
2022-08-22 14:26:30 +01:00