]> 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)
commitf9601b24f4576782506cebdbb20aa9ce8eda2ee9
treee88095e19d5d15e4c2e61241e15b141ddad989de
parentf3ec8c85084d714edeab4a9e490d527d64f976ff
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