Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45429
b: refs/heads/master
c: 0cefcf0
h: refs/heads/master
i:
  45427: d2732e2
v: v3
  • Loading branch information
Sean Hefty authored and Roland Dreier committed Jan 8, 2007
1 parent 740c6c6 commit 0a0d1e8
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 30a5ec982e4cfa955f93c454debaefc4d61d2da6
refs/heads/master: 0cefcf0bbc2d252eb48bff3289fb59c3817dd405
10 changes: 10 additions & 0 deletions trunk/drivers/infiniband/core/ucma.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,17 @@ static int ucma_event_handler(struct rdma_cm_id *cm_id,
goto out;
}
ctx->backlog--;
} else if (!ctx->uid) {
/*
* We ignore events for new connections until userspace has set
* their context. This can only happen if an error occurs on a
* new connection before the user accepts it. This is okay,
* since the accept will just fail later.
*/
kfree(uevent);
goto out;
}

list_add_tail(&uevent->list, &ctx->file->event_list);
wake_up_interruptible(&ctx->file->poll_wait);
out:
Expand Down

0 comments on commit 0a0d1e8

Please sign in to comment.