Home
last modified time | relevance | path

Searched hist:"08 ae0547" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/dlm/
H A Dlowcomms.c08ae0547 Thu Oct 27 15:45:11 CDT 2022 Alexander Aring <aahringo@redhat.com> fs: dlm: fix sock release if listen fails

This patch fixes a double sock_release() call when the listen() is
called for the dlm lowcomms listen socket. The caller of
dlm_listen_for_all should never care about releasing the socket if
dlm_listen_for_all() fails, it's done now only once if listen() fails.

Cc: stable@vger.kernel.org
Fixes: 2dc6b1158c28 ("fs: dlm: introduce generic listen")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>