https://github.com/torvalds/linux
Revision d89b9f3bbb58e9e378881209756b0723694f22ff authored by Varun Prakash on 25 October 2021, 17:17:30 UTC, committed by Christoph Hellwig on 27 October 2021, 05:58:26 UTC
ddgst is of type __le32, &req->ddgst + req->offset
increases &req->ddgst by 4 * req->offset, fix this by
type casting &req->ddgst to u8 *.

Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver")
Signed-off-by: Varun Prakash <varun@chelsio.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent ce7723e
History
Tip revision: d89b9f3bbb58e9e378881209756b0723694f22ff authored by Varun Prakash on 25 October 2021, 17:17:30 UTC
nvme-tcp: fix data digest pointer calculation
Tip revision: d89b9f3

back to top