]> git.ipfire.org Git - thirdparty/linux.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)
commit5b2abdafbedb902d7d8d3d5e571a38b8900dd15f
treee88095e19d5d15e4c2e61241e15b141ddad989de
parentf4916649f98e2c7bdba38c6597a98c456c17317d
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