diff options
author | Varun Prakash <varun@chelsio.com> | 2021-11-23 16:28:56 +0530 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-11-23 17:22:40 +0100 |
commit | 1d3ef9c3a39e04be31155c27ebf80342350c3abf (patch) | |
tree | 532b6630eeb76060ba1a468ac18b883f5f485bd5 /arch/.gitignore | |
parent | 102110efdff6beedece6ab9b51664c32ac01e2db (diff) |
nvme-tcp: validate R2T PDU in nvme_tcp_handle_r2t()
If maxh2cdata < r2t_length then driver will form multiple
H2CData PDUs, validate R2T PDU in nvme_tcp_handle_r2t() to
reuse nvme_tcp_setup_h2c_data_pdu().
Also set req->state to NVME_TCP_SEND_H2C_PDU in
nvme_tcp_setup_h2c_data_pdu().
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 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions