Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5213
b: refs/heads/master
c: dbf9227
h: refs/heads/master
i:
  5211: d4d15ef
v: v3
  • Loading branch information
Hal Rosenstock authored and Linus Torvalds committed Jul 27, 2005
1 parent 494440a commit 6e3e289
Show file tree
Hide file tree
Showing 2 changed files with 2 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: f75b7a5294949cd1b7bc301e3087c7bb78e22520
refs/heads/master: dbf9227bd3dff71c3c2f540cc3e96098d2ab41e7
3 changes: 1 addition & 2 deletions trunk/drivers/infiniband/core/mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -2188,7 +2188,6 @@ static int retry_send(struct ib_mad_send_wr_private *mad_send_wr)

if (!ret) {
mad_send_wr->refcount++;
list_del(&mad_send_wr->agent_list);
list_add_tail(&mad_send_wr->agent_list,
&mad_send_wr->mad_agent_priv->send_list);
}
Expand Down Expand Up @@ -2223,10 +2222,10 @@ static void timeout_sends(void *data)
break;
}

list_del(&mad_send_wr->agent_list);
if (!retry_send(mad_send_wr))
continue;

list_del(&mad_send_wr->agent_list);
spin_unlock_irqrestore(&mad_agent_priv->lock, flags);

mad_send_wc.wr_id = mad_send_wr->wr_id;
Expand Down

0 comments on commit 6e3e289

Please sign in to comment.