Files
linux-stable-mirror/include/net
Kuniyuki IwashimaandGreg Kroah-Hartman 14bea27d1c af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
[ Upstream commit 97af84a6bb ]

When touching unix_sk(sk)->inflight, we are always under
spin_lock(&unix_gc_lock).

Let's convert unix_sk(sk)->inflight to the normal unsigned long.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240123170856.41348-3-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 47d8ac011f ("af_unix: Fix garbage collector racing against connect()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-02 16:23:34 +02:00
..
2021-06-10 13:39:24 +02:00
2023-11-20 11:06:55 +01:00
2023-06-14 11:09:42 +02:00
2023-08-11 11:57:50 +02:00