ib_srpt, iscsi-scst: Port to Linux kernel v5.8 (merge r9060 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9101 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-08-03 03:04:25 +00:00
parent 93cb0bea8b
commit a8a356f4a6
6 changed files with 67 additions and 10 deletions
+6 -1
View File
@@ -41,6 +41,7 @@
#ifndef INSIDE_KERNEL_TREE
#include <linux/version.h>
#endif
#include <rdma/ib_cm.h>
#include "isert_dbg.h"
#include "iser.h"
@@ -1571,7 +1572,11 @@ fail_conn_create:
isert_deref_device(isert_dev);
mutex_unlock(&dev_list_mutex);
fail_dev_create:
rdma_reject(cm_id, NULL, 0);
rdma_reject(cm_id, NULL, 0
#if RDMA_REJECT_HAS_FOUR_ARGS
, IB_CM_REJ_CONSUMER_DEFINED
#endif
);
module_put(THIS_MODULE);
goto out;
}