]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70d89beada25f05de15a168894685fc4104aab5b
treeeeb824ff3eb02a9f1335741dda5b04294f5b10a1
parentd1e652f167d89d5a23fc13852aa7c90ebf4b3b1f
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