af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
[ Upstream commit 97af84a6 ] 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. Change-Id: I172437b23730c81d8d49801e2822a65e642ada49 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> Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit c8a2b1f7) Signed-off-by:
laligurr <quic_laligurr@quicinc.com>
Loading
Please sign in to comment