Commit 1fb5b184 authored by David Howells's avatar David Howells Committed by sanglipeng
Browse files

rxrpc: Use refcount_t rather than atomic_t

stable inclusion
from stable-v5.10.157
commit 23c03ee0eec4424a54a5619b23954d9069bac026
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7MU59

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=23c03ee0eec4424a54a5619b23954d9069bac026



--------------------------------

[ Upstream commit a0575429 ]

Move to using refcount_t rather than atomic_t for refcounts in rxrpc.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 3bcd6c7e ("rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>

Conflicts:
	net/rxrpc/ar-internal.h
	net/rxrpc/conn_client.c
parent 5a317796
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment