linux/drivers/nvme/target
Jinyoung Choi 80814b8e35 bio-integrity: update the payload size in bio_integrity_add_page()
Previously, the bip's bi_size has been set before an integrity pages
were added. If a problem occurs in the process of adding pages for
bip, the bi_size mismatch problem must be dealt with.

When the page is successfully added to bvec, the bi_size is updated.

The parts affected by the change were also contained in this commit.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Martin K. Petersen <martin.petersen@oracle.com>

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jinyoung Choi <j-young.choi@samsung.com>
Tested-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20230803024956epcms2p38186a17392706650c582d38ef3dbcd32@epcms2p3
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-08-09 16:05:35 -06:00
..
admin-cmd.c nvmet: remove nvmet_req_cns_error_complete 2023-04-13 08:55:05 +02:00
auth.c nvmet: fix a memory leak in nvmet_auth_set_key 2022-11-16 08:36:37 +01:00
configfs.c for-6.2/block-2022-12-08 2022-12-13 10:43:59 -08:00
core.c nvmet: avoid potential UAF in nvmet_req_complete() 2023-03-15 14:58:53 +01:00
discovery.c nvme: move from strlcpy with unused retval to strscpy 2022-09-19 11:33:53 +02:00
fabrics-cmd-auth.c nvmet-auth: remove unnecessary break after goto 2023-06-12 10:36:59 -07:00
fabrics-cmd.c nvmet: add helpers to set the result field for connect commands 2022-09-27 09:22:09 +02:00
fc.c nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association 2023-02-01 14:18:46 +01:00
fcloop.c nvmet-fcloop: Do not wait on completion when unregister fails 2023-06-12 10:37:00 -07:00
io-cmd-bdev.c bio-integrity: update the payload size in bio_integrity_add_page() 2023-08-09 16:05:35 -06:00
io-cmd-file.c nvmet: use bvec_set_page to initialize bvecs 2023-02-03 08:20:55 -07:00
Kconfig nvmet-auth: select the intended CRYPTO_DH_RFC7919_GROUPS 2022-08-02 17:22:51 -06:00
loop.c nvmet: use PAGE_SECTORS_SHIFT 2023-07-10 08:46:30 -07:00
Makefile nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
nvmet.h nvmet: Reorder fields in 'struct nvmet_ns' 2023-06-21 09:41:40 -07:00
passthru.c nvmet: use PAGE_SECTORS_SHIFT 2023-07-10 08:46:30 -07:00
rdma.c RDMA/core: introduce ib_dma_pci_p2p_dma_supported() 2022-07-26 07:28:07 -04:00
tcp.c nvmet-tcp: Use sendmsg(MSG_SPLICE_PAGES) rather then sendpage 2023-06-24 15:50:12 -07:00
trace.c nvmet: add set feature tracing support 2021-08-16 14:42:23 +02:00
trace.h nvmet: use min of device_path and disk len 2021-02-10 16:38:05 +01:00
zns.c nvmet: rename nvmet_execute_identify_cns_cs_ns 2023-04-13 08:55:04 +02:00