fs: dlm: generic connect func
authorAlexander Aring <aahringo@redhat.com>
Fri, 16 Jul 2021 20:22:43 +0000 (16:22 -0400)
committerDavid Teigland <teigland@redhat.com>
Mon, 19 Jul 2021 16:56:34 +0000 (11:56 -0500)
commit8728a455d20ddadecd767337475fc1371e031d79
treeeeb824ff3eb02a9f1335741dda5b04294f5b10a1
parent90d21fc0479dc0b5d338d664ddb55e5017b44f3e
fs: dlm: generic connect func

This patch adds a generic connect function for TCP and SCTP. If the
connect functionality differs from each other additional callbacks in
dlm_proto_ops were added. The sockopts callback handling will guarantee
that sockets created by connect() will use the same options as sockets
created by accept().

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