diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 7a8efce1c343..b11f695261f5 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -1776,7 +1776,7 @@ static int dlm_listen_for_all(void) SOCK_STREAM, dlm_proto_ops->proto, &sock); if (result < 0) { log_print("Can't create comms socket, check SCTP is loaded"); - goto out; + return result; } sock_set_mark(sock->sk, dlm_config.ci_mark);