Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41350
b: refs/heads/master
c: 33ba0fa
h: refs/heads/master
v: v3
  • Loading branch information
Krishna Kumar authored and Roland Dreier committed Nov 29, 2006
1 parent c142754 commit 65facb5
Show file tree
Hide file tree
Showing 2 changed files with 5 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: e54f81889cd5228e7087637c377d76301c7c5663
refs/heads/master: 33ba0fa9f315ce32fbb86fa671c131f5355b52a1
7 changes: 4 additions & 3 deletions trunk/drivers/infiniband/core/iwcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,8 @@ static int process_event(struct iwcm_id_private *cm_id_priv,
*/
static void cm_work_handler(void *arg)
{
struct iwcm_work *work = arg, lwork;
struct iwcm_work *work = arg;
struct iw_cm_event levent;
struct iwcm_id_private *cm_id_priv = work->cm_id;
unsigned long flags;
int empty;
Expand All @@ -842,11 +843,11 @@ static void cm_work_handler(void *arg)
struct iwcm_work, list);
list_del_init(&work->list);
empty = list_empty(&cm_id_priv->work_list);
lwork = *work;
levent = work->event;
put_work(work);
spin_unlock_irqrestore(&cm_id_priv->lock, flags);

ret = process_event(cm_id_priv, &work->event);
ret = process_event(cm_id_priv, &levent);
if (ret) {
set_bit(IWCM_F_CALLBACK_DESTROY, &cm_id_priv->flags);
destroy_cm_id(&cm_id_priv->id);
Expand Down

0 comments on commit 65facb5

Please sign in to comment.