From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> Hi Or, Here are two more iser-target discovery related patches that I'm including into for-next code now.. The first adds an explicit connection reset when CM disconnect occurs and starts isert_disconnect_work(). This is required for local session reinstatement of per-connection rx/tx thread pairs to be triggered during SessionType=Discovery, and addresses a bug where discovery sessions are being leaked if no logout request is sent before isert_disconnect_work() is called. The second adds an explicit check to drop non TEXT + LOGOUT opcodes when SessionType=Discovery is negotiated, following traditional iscsi-target code to ensure that no SCSI PDUs are processed during in-band discovery. FYI, I'm folding the first patch into: Fix session reset bug with RDMA_CM_EVENT_DISCONNECTED as a connection reset should be forced during SessionType=Normal as well ahead of a new client login request forcing local session reinstatement to occur. Thanks! --nab Nicholas Bellinger (2): iser-target: Add connection reset during CM disconnect iser-target: Ignore non TEXT + LOGOUT opcodes for discovery drivers/infiniband/ulp/isert/ib_isert.c | 11 +++++++++++ drivers/target/iscsi/iscsi_target_erl0.c | 1 + include/target/iscsi/iscsi_transport.h | 4 ++++ 3 files changed, 16 insertions(+), 0 deletions(-) -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html