]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dlm: handle port as __be16 network byte order
authorAlexander Aring <aahringo@redhat.com>
Fri, 4 Oct 2024 15:13:40 +0000 (11:13 -0400)
committerDavid Teigland <teigland@redhat.com>
Fri, 4 Oct 2024 15:31:31 +0000 (10:31 -0500)
commitf92a5be5717ea32830f829b080652c5c862b85e7
tree114635d41e831623804ad6deed7d1d41dcbd107f
parent7138c7903468578f1ae57b1c7eac8b7082862995
dlm: handle port as __be16 network byte order

This patch handles the DLM listen port setting internally as byte order
as it is a value that is used as network byte on the wire. The user
space still sets this value as host byte order for configfs as we don't
break UAPI here.

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