]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Avoid dereferencing iscsi_iser conn object when not bound to iser connection
authorRoi Dayan <roid@mellanox.com>
Tue, 4 Feb 2014 14:54:54 +0000 (16:54 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 14 Feb 2014 17:48:03 +0000 (09:48 -0800)
commit4913100f9e581260001cbc5e83adb21ba4abf7d1
tree0992c780cf2480cb3999f0b249be37161e849f91
parent6333ef0a6d756a72c48035feae2450b64f0372e4
IB/iser: Avoid dereferencing iscsi_iser conn object when not bound to iser connection

Fix a possible NULL pointer dereference in disconnection flow. This
can happen if the target disconnected/rejected the connection request,
e.g before the binding stage between iscsi connection to the transport
connection.

Signed-off-by: Alex Tabachnik <alext@mellanox.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>
drivers/infiniband/ulp/iser/iser_verbs.c