Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56410
b: refs/heads/master
c: be65f08
h: refs/heads/master
v: v3
  • Loading branch information
Sean Hefty authored and Roland Dreier committed May 14, 2007
1 parent 73ad1fe commit 5205f9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 8aa08602bdd617a9cdd147f19076a8c8a70e03ef
refs/heads/master: be65f086f2a50c478b2f5ecf4c55a52a4e95059a
5 changes: 3 additions & 2 deletions trunk/drivers/infiniband/core/cma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1183,9 +1183,10 @@ static int cma_iw_handler(struct iw_cm_id *iw_id, struct iw_cm_event *iw_event)
struct sockaddr_in *sin;
int ret = 0;

memset(&event, 0, sizeof event);
atomic_inc(&id_priv->dev_remove);
if (cma_disable_remove(id_priv, CMA_CONNECT))
return 0;

memset(&event, 0, sizeof event);
switch (iw_event->event) {
case IW_CM_EVENT_CLOSE:
event.event = RDMA_CM_EVENT_DISCONNECTED;
Expand Down

0 comments on commit 5205f9c

Please sign in to comment.