Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155483
b: refs/heads/master
c: a89d63a
h: refs/heads/master
i:
  155481: 74544d3
  155479: 5667ab3
v: v3
  • Loading branch information
Casey Dahlin authored and David Teigland committed Jul 14, 2009
1 parent e4d10dc commit f95b214
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: c78a87d0a1fc885dfdbe21fd5e07787691dfb068
refs/heads/master: a89d63a159b1ba5833be2bef00adf8ad8caac8be
4 changes: 3 additions & 1 deletion trunk/fs/dlm/lowcomms.c
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ static void tcp_connect_to_sock(struct connection *con)
int result = -EHOSTUNREACH;
struct sockaddr_storage saddr, src_addr;
int addr_len;
struct socket *sock;
struct socket *sock = NULL;

if (con->nodeid == 0) {
log_print("attempt to connect sock 0 foiled");
Expand Down Expand Up @@ -962,6 +962,8 @@ static void tcp_connect_to_sock(struct connection *con)
if (con->sock) {
sock_release(con->sock);
con->sock = NULL;
} else if (sock) {
sock_release(sock);
}
/*
* Some errors are fatal and this list might need adjusting. For other
Expand Down

0 comments on commit f95b214

Please sign in to comment.