diff options
| author | Pavel Shilovsky <[email protected]> | 2019-03-04 14:02:50 -0800 |
|---|---|---|
| committer | Steve French <[email protected]> | 2019-03-04 20:06:12 -0600 |
| commit | c781af7e0c1fed9f1d0e0ec31b86f5b21a8dca17 (patch) | |
| tree | 1712a2e7f7e5be3fdf63b77ddbeeb41925c6ef03 /tools/perf/scripts/python | |
| parent | 4fe75c4e4bc2caeb4159573e26cf3075e2c0fd9b (diff) | |
CIFS: Do not skip SMB2 message IDs on send failures
When we hit failures during constructing MIDs or sending PDUs
through the network, we end up not using message IDs assigned
to the packet. The next SMB packet will skip those message IDs
and continue with the next one. This behavior may lead to a server
not granting us credits until we use the skipped IDs. Fix this by
reverting the current ID to the original value if any errors occur
before we push the packet through the network stack.
This patch fixes the generic/310 test from the xfs-tests.
Cc: <[email protected]> # 4.19.x
Signed-off-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions