numam-spdk/lib/nvmf
Shuhei Matsumoto 9d4ee5f344 nvmf/tcp: Fix wrong data offset in nvmf_tcp_pdu_payload_insert_dif
We updated readv_offset before generating DIF to avoid adding
the temporary variable _rc in the previous patch, but that caused
write error when inserting DIF.

Fix the bug in this patch.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Id0788280a83cbea2554c851db77751432fc00cba
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/461116
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-07-11 05:30:28 +00:00
..
ctrlr_bdev.c nvmf: Hide DIF setting of the backend bdev if DIF insert/strip is enabled 2019-07-11 05:30:28 +00:00
ctrlr_discovery.c nvmf: Only present subsystem if it is ready 2019-01-07 06:02:26 +00:00
ctrlr.c nvmf: Hide DIF setting of the backend bdev if DIF insert/strip is enabled 2019-07-11 05:30:28 +00:00
Makefile nvmf: Collapse request.c into ctrlr.c 2019-02-04 18:11:33 +00:00
nvmf_fc.h lib/nvmf: fix a typo error 2018-10-12 17:40:16 +00:00
nvmf_internal.h nvmf: Hide DIF setting of the backend bdev if DIF insert/strip is enabled 2019-07-11 05:30:28 +00:00
nvmf.c nvmf: add spdk_nvmf_get_optimal_poll_group 2019-07-10 02:30:41 +00:00
rdma.c rdma: assert ibv_send_wr is not NULL 2019-06-25 13:37:15 +00:00
subsystem.c nvmf: add parameter check when loading reservation information from a JSON file 2019-07-10 01:40:26 +00:00
tcp.c nvmf/tcp: Fix wrong data offset in nvmf_tcp_pdu_payload_insert_dif 2019-07-11 05:30:28 +00:00
transport.c nvmf: add spdk_nvmf_transport_get_optimal_poll_group 2019-07-10 02:30:41 +00:00
transport.h nvmf: add spdk_nvmf_transport_get_optimal_poll_group 2019-07-10 02:30:41 +00:00