Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41360
b: refs/heads/master
c: d2fcea7
h: refs/heads/master
v: v3
  • Loading branch information
Vu Pham authored and Roland Dreier committed Nov 29, 2006
1 parent a0e8c27 commit f327f62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 04699a1f8634a4e89c71b22050b599c72126fa96
refs/heads/master: d2fcea7d68473b8bb3e0addb4926c87e2217ca83
8 changes: 5 additions & 3 deletions trunk/drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1176,9 +1176,11 @@ static int srp_cm_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event)
break;
}

target->status = srp_alloc_iu_bufs(target);
if (target->status)
break;
if (!target->rx_ring[0]) {
target->status = srp_alloc_iu_bufs(target);
if (target->status)
break;
}

qp_attr = kmalloc(sizeof *qp_attr, GFP_KERNEL);
if (!qp_attr) {
Expand Down

0 comments on commit f327f62

Please sign in to comment.