diff options
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/lowcomms.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 618a60f03886..210d52c48808 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c | |||
@@ -926,10 +926,8 @@ static void tcp_connect_to_sock(struct connection *con) | |||
926 | goto out_err; | 926 | goto out_err; |
927 | 927 | ||
928 | memset(&saddr, 0, sizeof(saddr)); | 928 | memset(&saddr, 0, sizeof(saddr)); |
929 | if (dlm_nodeid_to_addr(con->nodeid, &saddr)) { | 929 | if (dlm_nodeid_to_addr(con->nodeid, &saddr)) |
930 | sock_release(sock); | ||
931 | goto out_err; | 930 | goto out_err; |
932 | } | ||
933 | 931 | ||
934 | sock->sk->sk_user_data = con; | 932 | sock->sk->sk_user_data = con; |
935 | con->rx_action = receive_from_sock; | 933 | con->rx_action = receive_from_sock; |