diff options
author | Pietro Borrello | 2023-02-09 12:26:23 +0000 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-03-10 09:33:02 +0100 |
commit | b8dd6200fa8df618749cffb2096a3b5f4071f6e4 (patch) | |
tree | 08067c924fa6a316b3495317ebfcecbc0e330037 /crypto | |
parent | cd9dff330e8932653b13a15abc278c46ca73fe6f (diff) |
rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
[ Upstream commit 68762148d1b011d47bc2ceed7321739b5aea1e63 ]
rds_rm_zerocopy_callback() uses list_add_tail() with swapped
arguments. This links the list head with the new entry, losing
the references to the remaining part of the list.
Fixes: 9426bbc6de99 ("rds: use list structure to track information for zerocopy completion notification")
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Pietro Borrello <borrello@diag.uniroma1.it>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions