mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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: 9426bbc6de ("rds: use list structure to track information for zerocopy completion notification")
Suggested-by: Paolo Abeni <[email protected]>
Signed-off-by: Pietro Borrello <[email protected]>
Signed-off-by: David S. Miller <[email protected]>