linux/drivers/nvme/host
Guixin Liu 2fcd3ab398 nvme-fabrics: check ioccsz and iorcsz
Make sure that ioccsz and iorcsz returned by target are correct before use it.

Per 2.0a base NVMe spec:

  I/O Queue Command Capsule Supported Size (IOCCSZ): This field defines
  the maximum I/O command capsule size in 16 byte units. The minimum value
  that shall be indicated is 4 corresponding to 64 bytes.

Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2023-12-06 13:57:43 -08:00
..
apple.c nvme-apple: return directly instead of else 2023-04-13 08:55:06 +02:00
auth.c nvme-auth: set explanation code for failure2 msgs 2023-11-20 09:25:23 -08:00
constants.c nvme fixes for Linux 6.5 2023-06-30 14:04:08 -06:00
core.c nvme-fabrics: check ioccsz and iorcsz 2023-12-06 13:57:43 -08:00
fabrics.c nvme: blank out authentication fabrics options if not configured 2023-11-20 09:25:32 -08:00
fabrics.h nvme-fabrics: parse options 'keyring' and 'tls_key' 2023-10-11 10:29:58 -07:00
fault_inject.c nvme: fix parameter check in nvme_fault_inject_init() 2023-07-12 08:48:33 -07:00
fc.c nvme: move nvme_stop_keep_alive() back to original position 2023-11-22 08:07:02 -08:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c nvme: host: hwmon: constify pointers to hwmon_channel_info 2023-08-21 12:54:02 -07:00
ioctl.c nvme: use bio_integrity_map_user 2023-12-01 18:29:18 -07:00
Kconfig nvme: common: make keyring and auth separate modules 2023-11-07 10:05:15 -08:00
Makefile nvme: rework NVME_AUTH Kconfig selection 2023-10-12 08:04:49 -07:00
multipath.c nvme fixes for Linux 6.5 2023-06-30 14:04:08 -06:00
nvme.h nvme: rework NVME_AUTH Kconfig selection 2023-10-12 08:04:49 -07:00
pci.c for-6.7/block-2023-10-30 2023-11-01 12:30:07 -10:00
pr.c nvme: Add pr_ops read_reservation support 2023-04-11 21:55:36 -04:00
rdma.c nvme: move nvme_stop_keep_alive() back to original position 2023-11-22 08:07:02 -08:00
sysfs.c nvme: rework NVME_AUTH Kconfig selection 2023-10-12 08:04:49 -07:00
tcp.c nvme: tcp: fix compile-time checks for TLS mode 2023-11-22 18:41:14 -07:00
trace.c nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00
trace.h nvme: fix async event trace event 2023-04-13 08:59:04 +02:00
zns.c scsi: nvme: zns: Set zone limits before revalidating zones 2023-07-05 21:58:10 -04:00