Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58585
b: refs/heads/master
c: 97d8483
h: refs/heads/master
i:
  58583: 3a29096
v: v3
  • Loading branch information
Patrick Caulfield authored and Steven Whitehouse committed Jul 9, 2007
1 parent d261789 commit 5442399
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 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: 1875f2f31b3955dff8c3712a56ae61836c8b90fe
refs/heads/master: 97d848365e603def43c69e160937f073bf9cf02e
14 changes: 10 additions & 4 deletions trunk/fs/dlm/lowcomms.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,11 +720,17 @@ static int tcp_accept_from_sock(struct connection *con)
INIT_WORK(&othercon->rwork, process_recv_sockets);
set_bit(CF_IS_OTHERCON, &othercon->flags);
newcon->othercon = othercon;
othercon->sock = newsock;
newsock->sk->sk_user_data = othercon;
add_sock(newsock, othercon);
addcon = othercon;
}
else {
printk("Extra connection from node %d attempted\n", nodeid);
result = -EAGAIN;
up_write(&newcon->sock_sem);
goto accept_err;
}
othercon->sock = newsock;
newsock->sk->sk_user_data = othercon;
add_sock(newsock, othercon);
addcon = othercon;
}
else {
newsock->sk->sk_user_data = newcon;
Expand Down

0 comments on commit 5442399

Please sign in to comment.