Daniel Wagner cd0c1b8e04 nvmet: always initialize cqe.result
The spec doesn't mandate that the first two double words (aka results)
for the command queue entry need to be set to 0 when they are not
used (not specified). Though, the target implemention returns 0 for TCP
and FC but not for RDMA.

Let's make RDMA behave the same and thus explicitly initializing the
result field. This prevents leaking any data from the stack.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2024-06-12 11:00:08 -07:00
..
2024-05-14 09:14:49 -06:00
2024-06-12 11:00:08 -07:00
2024-01-29 07:02:50 -08:00
2024-05-14 09:14:49 -06:00
2024-05-14 09:14:49 -06:00
2024-03-08 06:58:20 -08:00