fs: dlm: introduce generic listen
authorAlexander Aring <aahringo@redhat.com>
Fri, 16 Jul 2021 20:22:41 +0000 (16:22 -0400)
committerDavid Teigland <teigland@redhat.com>
Mon, 19 Jul 2021 16:53:43 +0000 (11:53 -0500)
commit2dc6b1158c28c3a5e86d162628810312f98d5e97
treeabec3a1607a38451cca70fb9156dd44047161f7f
parenta66c008cd16a122e340d48f01ddf8cd768368717
fs: dlm: introduce generic listen

This patch combines each transport layer listen functionality into one
listen function. Per transport layer differences are provided by
additional callbacks in dlm_proto_ops.

This patch drops silently sock_set_keepalive() for listen tcp sockets
only. This socket option is not set at connecting sockets, I also don't
see the sense of set keepalive for sockets which are created by accept()
only.

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