Files
linux/include/net
Kuniyuki Iwashima 7f4c391d3b af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
[ Upstream commit 97af84a6bba2ab2b9c704c08e67de3b5ea551bb2 ]

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: 47d8ac011fe1 ("af_unix: Fix garbage collector racing against connect()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-02 16:18:29 +02:00
..
2021-06-10 13:37:09 +02:00
2016-04-25 16:44:27 -04:00
2016-04-25 16:44:27 -04:00
2019-04-19 14:07:40 -07:00
2024-04-13 12:51:36 +02:00
2023-11-20 10:30:15 +01:00
2019-10-23 20:13:22 -07:00
2017-11-08 16:12:33 +09:00
2018-05-16 07:23:35 +02:00
2019-04-22 21:47:25 -07:00
2024-03-01 13:13:34 +01:00
2019-06-19 11:23:13 -04:00
2022-03-19 13:40:16 +01:00