dlm: reject SCTP configuration if not enabled
authorAlexander Aring <aahringo@redhat.com>
Tue, 29 Apr 2025 20:29:12 +0000 (16:29 -0400)
committerDavid Teigland <teigland@redhat.com>
Wed, 30 Apr 2025 14:26:34 +0000 (09:26 -0500)
commit574511615a2e17e5dfe4754f6e9cea005b6c718a
tree3b11246fc314591d225ab25d518e291d9e6d8857
parent55612ddb62fc12437a7ff2f27b51a8981bc187a4
dlm: reject SCTP configuration if not enabled

Reject SCTP dlm configuration if the kernel was never build with SCTP.
Currently the only one known user space tool "dlm_controld" will drop an
error in the logs and getting stuck. This behaviour should be fixed to
deliver an error to the user or fallback to TCP.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Reviewed-by: Heming zhao <heming.zhao@suse.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/config.c