summaryrefslogtreecommitdiff
path: root/Documentation/unaligned-memory-access.txt
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2015-01-18 14:51:06 (GMT)
committerRoland Dreier <roland@purestorage.com>2015-02-17 20:32:46 (GMT)
commit6606e6a2ff2710b473838b291dc533cd8fc1471f (patch)
tree1d37d500fd385ac7c627881b9254c37c3bb0d6b2 /Documentation/unaligned-memory-access.txt
parentc6c95ef4cec680f7a10aa425a9970744b35b6489 (diff)
downloadlinux-6606e6a2ff2710b473838b291dc533cd8fc1471f.tar.xz
IB/iser: Fix memory regions possible leak
When teardown process starts during live IO, we need to keep the memory regions pool (frmr/fmr) until all in-flight tasks are properly released, since each task may return a memory region to the pool. In order to do this, we pass a destroy flag to iser_free_ib_conn_res to indicate we can destroy the device and the memory regions pool. iser_conn_release will pass it as true and also DEVICE_REMOVAL event (we need to let the device to properly remove). Also, Since we conditionally call iser_free_rx_descriptors, remove the extra check on iser_conn->rx_descs. Fixes: 5426b1711fd0 ("IB/iser: Collapse cleanup and disconnect handlers") Reported-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'Documentation/unaligned-memory-access.txt')
0 files changed, 0 insertions, 0 deletions