aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorGuangguan Wang <[email protected]>2022-05-12 11:08:20 +0800
committerJakub Kicinski <[email protected]>2022-05-12 10:01:36 -0700
commitf3c46e41b32b6266cf60b0985c61748f53bf1c61 (patch)
treef272f3a7a5b3eddd3a352720ddd717ebba46c143 /lib/mpi/mpi-sub-ui.c
parentb7be130c5d52e5224ac7d89568737b37b4c4b785 (diff)
net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending
Non blocking sendmsg will return -EAGAIN when any signal pending and no send space left, while non blocking recvmsg return -EINTR when signal pending and no data received. This may makes confused. As TCP returns -EAGAIN in the conditions described above. Align the behavior of smc with TCP. Fixes: 846e344eb722 ("net/smc: add receive timeout check") Signed-off-by: Guangguan Wang <[email protected]> Reviewed-by: Tony Lu <[email protected]> Acked-by: Karsten Graul <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions