smb: client: fill smbdirect_socket_parameters at the beginning and use the values...
authorStefan Metzmacher <metze@samba.org>
Fri, 15 Aug 2025 09:03:04 +0000 (11:03 +0200)
committerSteve French <stfrench@microsoft.com>
Sun, 28 Sep 2025 23:29:49 +0000 (18:29 -0500)
commit14b6088dd97b5332c018a2e87c46be1e8cfdabc8
treeecaa1e9e27ed664a8c926dcfca7d152af4322eff
parentd3e743b514c20bfe26e340835cebb1f8301997ab
smb: client: fill smbdirect_socket_parameters at the beginning and use the values from there

This is what we should do and it also simplifies the following changes.

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