提交 558e4c75 编写于 作者: M Michael Chan 提交者: David S. Miller

cnic: Return proper error code if we fail to send netlink message

to allow iSCSI connection to fail faster instead of waiting for the
long timeout.

Update version to 2.5.6.
Signed-off-by: NMichael Chan <mchan@broadcom.com>
Reviewed-by: NMatt Carlson <mcarlson@broadcom.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 e1dd883c
...@@ -328,7 +328,7 @@ static int cnic_send_nlmsg(struct cnic_local *cp, u32 type, ...@@ -328,7 +328,7 @@ static int cnic_send_nlmsg(struct cnic_local *cp, u32 type,
msleep(100); msleep(100);
retry++; retry++;
} }
return 0; return rc;
} }
static void cnic_cm_upcall(struct cnic_local *, struct cnic_sock *, u8); static void cnic_cm_upcall(struct cnic_local *, struct cnic_sock *, u8);
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
#ifndef CNIC_IF_H #ifndef CNIC_IF_H
#define CNIC_IF_H #define CNIC_IF_H
#define CNIC_MODULE_VERSION "2.5.3" #define CNIC_MODULE_VERSION "2.5.6"
#define CNIC_MODULE_RELDATE "June 6, 2011" #define CNIC_MODULE_RELDATE "July 12, 2011"
#define CNIC_ULP_RDMA 0 #define CNIC_ULP_RDMA 0
#define CNIC_ULP_ISCSI 1 #define CNIC_ULP_ISCSI 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册