mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 07:51:28 +00:00
ib_srpt: Handle thread creation failure properly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4270 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2612,6 +2612,7 @@ reject:
|
||||
sizeof(*rej));
|
||||
|
||||
if (ch && ch->thread) {
|
||||
srpt_drain_channel(cm_id);
|
||||
srpt_close_ch(ch);
|
||||
/*
|
||||
* Tell the caller not to free cm_id since
|
||||
|
||||
Reference in New Issue
Block a user