From: Valentine Fatiev <valentinef@nvidia.com>
Subject: [PATCH] BACKPORT: drivers/infiniband/ulp/isert/ib_isert.h

Change-Id: If74fbac6089cc6f0eb1a9682949dadf9f24a35c2
---
 drivers/infiniband/ulp/isert/ib_isert.h | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

--- a/drivers/infiniband/ulp/isert/ib_isert.h
+++ b/drivers/infiniband/ulp/isert/ib_isert.h
@@ -11,6 +11,23 @@
 #define DRV_NAME	"isert"
 #define PFX		DRV_NAME ": "
 
+#ifndef HAVE_ISCSIT_CONN
+#define iscsit_conn iscsi_conn
+#endif
+
+#ifndef HAVE_ISCSIT_CMD
+#define iscsit_cmd iscsi_cmd
+#endif
+
+#ifdef HAVE_ISCSI_CONN_LOGIN_SOCKADDR
+#define HAVE_ISCSIT_CONN_LOGIN_SOCKADDR 1
+#endif
+
+#ifdef HAVE_ISCSI_CONN_LOCAL_SOCKADDR
+#define HAVE_ISCSIT_CONN_LOCAL_SOCKADDR 1
+#endif
+
+
 #define isert_dbg(fmt, arg...)				 \
 	do {						 \
 		if (unlikely(isert_debug_level > 2))	 \
