kernel_samsung_a53x/fs/afs
David Howells 9968d0fc66 afs: Fix afs_server_list to be cleaned up with RCU
[ Upstream commit e6bace7313d61e31f2b16fa3d774fd8cb3cb869e ]

afs_server_list is accessed with the rcu_read_lock() held from
volume->servers, so it needs to be cleaned up correctly.

Fix this by using kfree_rcu() instead of kfree().

Fixes: 8a070a964877 ("afs: Detect cell aliases 1 - Cells with root volumes")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:10:54 +01:00
..
addr_list.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
afs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
afs_cm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
afs_fs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
afs_vl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callback.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cell.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmservice.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dir_edit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dir_silly.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dynroot.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
file.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
flock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fs_operation.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fs_probe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsclient.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
internal.h afs: Fix afs_server_list to be cleaned up with RCU 2024-11-18 12:10:54 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mntpt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
proc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
protocol_uae.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
protocol_yfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rotate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rxrpc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
security.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
server.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
server_list.c afs: Fix afs_server_list to be cleaned up with RCU 2024-11-18 12:10:54 +01:00
super.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vl_alias.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vl_list.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vl_probe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vl_rotate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vlclient.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
volume.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
write.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xattr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xdr_fs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
yfsclient.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00