]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: use echo_interval even when connection not ready.
authorShyam Prasad N <sprasad@microsoft.com>
Sat, 1 May 2021 16:17:07 +0000 (16:17 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 3 May 2021 16:54:29 +0000 (11:54 -0500)
commite5944c9f718dbb453c4fa131d2719d2078412a23
treee88095e19d5d15e4c2e61241e15b141ddad989de
parent8feca0a0381303315788d317154a713e87c1344d
cifs: use echo_interval even when connection not ready.

When the tcp connection is not ready to send requests,
we keep retrying echo with an interval of zero.

This seems unnecessary, and this fix changes the interval
between echoes to what is specified as echo_interval.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c