]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
smb: smbdirect: introduce smbdirect_socket.first_error
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Aug 2025 10:11:02 +0000 (12:11 +0200)
committerSteve French <stfrench@microsoft.com>
Sun, 28 Sep 2025 23:29:48 +0000 (18:29 -0500)
This will be used when a connected conection gets the first error.

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/common/smbdirect/smbdirect_socket.h

index 5e25abc0236490e7245f8be98dcedf1dc0f42f35..db22a1d0546b4e893ad1b615c7f917930c862407 100644 (file)
@@ -83,6 +83,7 @@ enum smbdirect_keepalive_status {
 struct smbdirect_socket {
        enum smbdirect_socket_status status;
        wait_queue_head_t status_wait;
+       int first_error;
 
        /*
         * This points to the workqueue to