Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33116
b: refs/heads/master
c: d916a8f
h: refs/heads/master
v: v3
  • Loading branch information
Ishai Rabinovitz authored and Roland Dreier committed Aug 3, 2006
1 parent e95bd19 commit 2d6b849
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75df23e229acab85b704f4603bdf5efdc7960e6a
refs/heads/master: d916a8f1b43b358685b1672390ead11f2d3b74c6
2 changes: 2 additions & 0 deletions trunk/drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,10 @@ static int srp_reconnect_target(struct srp_target_port *target)
while (ib_poll_cq(target->cq, 1, &wc) > 0)
; /* nothing */

spin_lock_irq(target->scsi_host->host_lock);
list_for_each_entry_safe(req, tmp, &target->req_queue, list)
srp_reset_req(target, req);
spin_unlock_irq(target->scsi_host->host_lock);

target->rx_head = 0;
target->tx_head = 0;
Expand Down

0 comments on commit 2d6b849

Please sign in to comment.