diff options
author | Varun Prakash <varun@chelsio.com> | 2021-11-22 11:08:41 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-11-23 17:22:40 +0100 |
commit | 102110efdff6beedece6ab9b51664c32ac01e2db (patch) | |
tree | 01b6f2280001409b64020de299ec8c6c5baf106a /drivers/nvme/host | |
parent | nvmet-tcp: fix memory leak when performing a controller reset (diff) | |
download | linux-102110efdff6beedece6ab9b51664c32ac01e2db.tar.xz linux-102110efdff6beedece6ab9b51664c32ac01e2db.zip |
nvmet-tcp: fix incomplete data digest send
Current nvmet_try_send_ddgst() code does not check whether
all data digest bytes are transmitted, fix this by returning
-EAGAIN if all data digest bytes are not transmitted.
Fixes: 872d26a391da ("nvmet-tcp: add NVMe over TCP target driver")
Signed-off-by: Varun Prakash <varun@chelsio.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host')
0 files changed, 0 insertions, 0 deletions