]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: smbdirect: divide, not multiply, milliseconds by 1000
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Wed, 20 May 2026 18:03:58 +0000 (20:03 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 21 May 2026 14:29:49 +0000 (09:29 -0500)
commitfbc15231181669b51c0103fd74c9c2ac2756ab56
treee2bcda3fc3488826f8b7e8dfe197e453005e7852
parentc68337442f03953237a94577beb468ab2662a851
smb: smbdirect: divide, not multiply, milliseconds by 1000

Unless smbdirect_connection_legacy_debug_proc_show()
wants to debug-log keep_alive_interval as microseconds,
a magnitude higher precision than available by the way,
keepalive_interval_msec should not be multiplied by 1000.

Fixes: cc55f65dd352 ("smb: client: make use of common smbdirect_socket_parameters")
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/smbdirect/debug.c