fs: dlm: use saved sk_error_report()
authorAlexander Aring <aahringo@redhat.com>
Thu, 17 Nov 2022 22:11:55 +0000 (17:11 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 21 Nov 2022 15:45:49 +0000 (09:45 -0600)
commitc852a6d70698d5e4a9f3670ecabf9656ff00c73c
treeb4fcd944d25d28ebfe40b75d3a7a18cbc07006ed
parente9dd5fd849f1ac125919a79eb4be66f078dd7f51
fs: dlm: use saved sk_error_report()

This patch changes the handling of calling the original
sk_error_report() by not putting it on the stack and calling it later.
If the listen_sock.sk_error_report() is NULL in this moment it indicates
a bug in our implementation.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c