diff options
| author | Guangguan Wang <[email protected]> | 2022-05-13 10:24:53 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-05-16 10:40:07 +0100 |
| commit | 3aba103006bcc4a7472b7c9506b3bc065ffb7992 (patch) | |
| tree | 3d897b9dd01cbd610f8192ca34074e83d5ea7832 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | e97e68b56e78303581a03b26e95f6c0c03ecbbe2 (diff) | |
net/smc: align the connect behaviour with TCP
Connect with O_NONBLOCK will not be completed immediately
and returns -EINPROGRESS. It is possible to use selector/poll
for completion by selecting the socket for writing. After select
indicates writability, a second connect function call will return
0 to indicate connected successfully as TCP does, but smc returns
-EISCONN. Use socket state for smc to indicate connect state, which
can help smc aligning the connect behaviour with TCP.
Signed-off-by: Guangguan Wang <[email protected]>
Acked-by: Karsten Graul <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions