diff options
author | 2013-05-08 12:21:17 +0000 | |
---|---|---|
committer | 2013-06-04 17:03:11 -0700 | |
commit | 5b61ff43a774b9843402fb280fec6d700e1fe583 (patch) | |
tree | ee988e3658ccadb4284d02af11275a8621d6f802 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.10-rc4 (diff) | |
download | linux-dev-5b61ff43a774b9843402fb280fec6d700e1fe583.tar.xz linux-dev-5b61ff43a774b9843402fb280fec6d700e1fe583.zip |
IB/iser: Fix device removal flow
Change the code to destroy the "last opened" rdma_cm id after making
sure we released all other objects (QP, CQs, PD, etc) associated with
the IB device.
Since iser accesses the IB device using the rdma_cm id, we need to
free any objects that are related to the device that is associated
with the rdma_cm id prior to destroying that id. When this isn't
done, the low level driver that created this device can be unloaded
before iser has a chance to free all the objects and a such a call may
invoke code segment which isn't valid any more and crash.
Cc: Sean Hefty <sean.hefty@intel.com
Signed-off-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions