diff options
author | 2019-03-05 15:51:56 -0800 | |
---|---|---|
committer | 2019-03-05 18:14:39 -0600 | |
commit | afc18a6f7b849a4935f3b4d782c902749b1580fd (patch) | |
tree | 217068573701d607e2037d67fd6be807e9d98370 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | CIFS: Only send SMB2_NEGOTIATE command on new TCP connections (diff) | |
download | linux-dev-afc18a6f7b849a4935f3b4d782c902749b1580fd.tar.xz linux-dev-afc18a6f7b849a4935f3b4d782c902749b1580fd.zip |
CIFS: Return -EAGAIN instead of -ENOTSOCK
When we attempt to send a packet while the demultiplex thread
is in the middle of cifs_reconnect() we may end up returning
-ENOTSOCK to upper layers. The intent here is to retry the request
once the TCP connection is up, so change it to return -EAGAIN
instead. The latter error code is retryable and the upper layers
will retry the request if needed.
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions