]> git.ipfire.org Git - people/ms/linux.git/commit - fs/dlm/lowcomms.c
dlm: uninitialized variable on error in dlm_listen_for_all()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 4 Apr 2022 20:06:28 +0000 (16:06 -0400)
committerDavid Teigland <teigland@redhat.com>
Wed, 6 Apr 2022 19:01:44 +0000 (14:01 -0500)
commit1f4f10845e14690b02410de50d9ea9684625a4ae
tree517d447dd32c2c00bec5fb11ddb7ae5a4c9d74a6
parent3123109284176b1532874591f7c81f3837bbdc17
dlm: uninitialized variable on error in dlm_listen_for_all()

The "sock" variable is not initialized on this error path.

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