diff options
| author | Shyam Prasad N <[email protected]> | 2021-04-29 07:53:18 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-05-03 16:49:13 +0000 |
| commit | f4916649f98e2c7bdba38c6597a98c456c17317d (patch) | |
| tree | 10844b718715c19358014e1040595ba926a04c6c /tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py | |
| parent | smb3.1.1: allow dumping keys for multiuser mounts (diff) | |
| download | kernel-f4916649f98e2c7bdba38c6597a98c456c17317d.tar.gz kernel-f4916649f98e2c7bdba38c6597a98c456c17317d.zip | |
cifs: detect dead connections only when echoes are enabled.
We can detect server unresponsiveness only if echoes are enabled.
Echoes can be disabled under two scenarios:
1. The connection is low on credits, so we've disabled echoes/oplocks.
2. The connection has not seen any request till now (other than
negotiate/sess-setup), which is when we enable these two, based on
the credits available.
So this fix will check for dead connection, only when echo is enabled.
Signed-off-by: Shyam Prasad N <[email protected]>
CC: <[email protected]> # v5.8+
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py')
0 files changed, 0 insertions, 0 deletions
