Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341888
b: refs/heads/master
c: 0d650ec
h: refs/heads/master
v: v3
  • Loading branch information
Eddie Wai authored and David S. Miller committed Dec 5, 2012
1 parent 37d4e48 commit 4fae808
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: caa9e931fe40c9ffad4d951555675417ab074ea5
refs/heads/master: 0d650ec75a0d2525dbc98f1a04ed0b2a4bf5d3ac
13 changes: 11 additions & 2 deletions trunk/drivers/net/ethernet/broadcom/cnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -3853,12 +3853,17 @@ static int cnic_cm_abort(struct cnic_sock *csk)
return cnic_cm_abort_req(csk);

/* Getting here means that we haven't started connect, or
* connect was not successful.
* connect was not successful, or it has been reset by the target.
*/

cp->close_conn(csk, opcode);
if (csk->state != opcode)
if (csk->state != opcode) {
/* Wait for remote reset sequence to complete */
while (test_bit(SK_F_PG_OFFLD_COMPLETE, &csk->flags))
msleep(1);

return -EALREADY;
}

return 0;
}
Expand All @@ -3872,6 +3877,10 @@ static int cnic_cm_close(struct cnic_sock *csk)
csk->state = L4_KCQE_OPCODE_VALUE_CLOSE_COMP;
return cnic_cm_close_req(csk);
} else {
/* Wait for remote reset sequence to complete */
while (test_bit(SK_F_PG_OFFLD_COMPLETE, &csk->flags))
msleep(1);

return -EALREADY;
}
return 0;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/broadcom/cnic_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

#include "bnx2x/bnx2x_mfw_req.h"

#define CNIC_MODULE_VERSION "2.5.14"
#define CNIC_MODULE_RELDATE "Sep 30, 2012"
#define CNIC_MODULE_VERSION "2.5.15"
#define CNIC_MODULE_RELDATE "Dec 04, 2012"

#define CNIC_ULP_RDMA 0
#define CNIC_ULP_ISCSI 1
Expand Down

0 comments on commit 4fae808

Please sign in to comment.