diff options
author | Pietro Borrello <borrello@diag.uniroma1.it> | 2023-02-09 12:26:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-02-13 09:33:39 +0000 |
commit | 68762148d1b011d47bc2ceed7321739b5aea1e63 (patch) | |
tree | 595e74725e8efac49f057ad9f74db95677fac656 /net/devlink | |
parent | 75da437a2f172759b2273091a938772e687242d0 (diff) | |
download | linux-stable-68762148d1b011d47bc2ceed7321739b5aea1e63.tar.gz linux-stable-68762148d1b011d47bc2ceed7321739b5aea1e63.tar.bz2 linux-stable-68762148d1b011d47bc2ceed7321739b5aea1e63.zip |
rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
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>
Diffstat (limited to 'net/devlink')
0 files changed, 0 insertions, 0 deletions