smb: client/smbdirect: replace SMBDIRECT_SOCKET_CONNECTING with more detailed states
authorStefan Metzmacher <metze@samba.org>
Fri, 8 Aug 2025 16:48:13 +0000 (18:48 +0200)
committerSteve French <stfrench@microsoft.com>
Sun, 28 Sep 2025 23:29:48 +0000 (18:29 -0500)
commit58dfba8a2d4eb6defc6e710196b053abdaf6cd79
treef9b5e84e7e90f7074cb968afd2b8cbe36cea6c19
parentef71f1e046489c77a2f7d012edc762fba0a7aadc
smb: client/smbdirect: replace SMBDIRECT_SOCKET_CONNECTING with more detailed states

The process of reaching a functional connection represented by
SMBDIRECT_SOCKET_CONNECTED, is more complex than using a single
SMBDIRECT_SOCKET_CONNECTING state.

This will allow us to remove a lot of special variables and
completions in the following commits.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smbdirect.c
fs/smb/common/smbdirect/smbdirect_socket.h