diff options
author | 2019-01-22 16:50:21 -0800 | |
---|---|---|
committer | 2019-01-24 14:52:06 -0600 | |
commit | 3d3003fce8e837acc4e3960fe3cbabebc356dcb5 (patch) | |
tree | 45c36004bb21d46ef0a922a5e160a6623ae66338 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | CIFS: Fix credit calculation for encrypted reads with errors (diff) | |
download | wireguard-linux-3d3003fce8e837acc4e3960fe3cbabebc356dcb5.tar.xz wireguard-linux-3d3003fce8e837acc4e3960fe3cbabebc356dcb5.zip |
CIFS: Fix credit calculations in compound mid callback
The current code doesn't do proper accounting for credits
in SMB1 case: it adds one credit per response only if we get
a complete response while it needs to return it unconditionally.
Fix this and also include malformed responses for SMB2+ into
accounting for credits because such responses have Credit
Granted field, thus nothing prevents to get a proper credit
value from them.
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions