]> git.ipfire.org Git - thirdparty/linux.git/commit
smb: smbdirect: introduce smbdirect_connection_is_connected()
authorStefan Metzmacher <metze@samba.org>
Tue, 21 Oct 2025 17:42:17 +0000 (19:42 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Apr 2026 02:58:20 +0000 (21:58 -0500)
commitdc24063813ea617394db153cf9203286770ed404
tree9bc2ba8fd59b7c50c9a55185d4f2d53072c4e139
parent09d617d3121e14309ad5e4287b0da3ec27d386a8
smb: smbdirect: introduce smbdirect_connection_is_connected()

This is a simple way to check is the connection is still ok
without the need to know internals of struct smbdirect_socket.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: 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>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/common/smbdirect/smbdirect_connection.c