Spdk/lib/nvmf
John Levon 11e67d93ff lib/nvmf: sanity check req->iovcnt
If req->data is set, with all the previous changes, then req->iovcnt
should also be more than zero.

Signed-off-by: John Levon <john.levon@nutanix.com>
Change-Id: I29b5f45541c9dba2dd896109dd43d2b5321ec467
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16274
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2023-02-13 13:50:51 +00:00
..
ctrlr_bdev.c nvmf: sanity check passthru handlers 2023-01-30 16:28:35 +00:00
ctrlr_discovery.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ctrlr.c lib/nvmf: sanity check req->iovcnt 2023-02-13 13:50:51 +00:00
fc_ls.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
fc.c misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
nvmf_fc.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf_internal.h nvmf: pause/resume polling for the target 2023-01-24 14:49:24 +00:00
nvmf_rpc.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf.c nvmf: Fix new line at the end of log message 2023-01-30 16:29:49 +00:00
rdma.c nvmf/rdma: use req->iov consistently 2023-01-30 16:28:35 +00:00
spdk_nvmf.map nvmf: add spdk_nvmf_request_copy_*_buf() 2023-02-13 13:50:51 +00:00
subsystem.c nvmf: handle iovecs in reservation handling 2023-02-13 13:50:51 +00:00
tcp.c tcp: add note about default case in qpair_abort_request() 2023-02-13 13:50:15 +00:00
transport.c nvmf/transport: fix spdk_nvmf_request_free_buffers() 2023-01-24 18:18:49 +00:00
transport.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
vfio_user.c nvmf/vfio-user: use req->iov consistently 2023-01-30 16:28:35 +00:00