diff options
author | 2024-06-12 16:11:59 +0200 | |
---|---|---|
committer | 2024-06-12 11:00:08 -0700 | |
commit | cd0c1b8e045a8d2785342b385cb2684d9b48e426 (patch) | |
tree | 57b284e8700ab6302528a95e15fa26a15fa28578 /scripts/generate_rust_analyzer.py | |
parent | nvmet-passthru: propagate status from id override functions (diff) | |
download | linux-rng-cd0c1b8e045a8d2785342b385cb2684d9b48e426.tar.xz linux-rng-cd0c1b8e045a8d2785342b385cb2684d9b48e426.zip |
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions