diff options
| author | D. Wythe <[email protected]> | 2022-02-15 16:24:50 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-02-16 20:31:39 -0800 |
| commit | 1ce22047067490c3a465808556a99b2ab95bf046 (patch) | |
| tree | e3261bca70a662a658106e6bc15557ba27628b87 /tools/perf/scripts/python/bin | |
| parent | 8aa69d348261e0d7747beac8b70a2d272da53888 (diff) | |
net/smc: return ETIMEDOUT when smc_connect_clc() timeout
When smc_connect_clc() times out, it will return -EAGAIN(tcp_recvmsg
retuns -EAGAIN while timeout), then this value will passed to the
application, which is quite confusing to the applications, makes
inconsistency with TCP.
From the manual of connect, ETIMEDOUT is more suitable, and this patch
try convert EAGAIN to ETIMEDOUT in that case.
Signed-off-by: D. Wythe <[email protected]>
Reviewed-by: Karsten Graul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions