Willem de Bruijn wrote:
> Did you observe actual issues or is this based on the comment in the
> existing code ("Should really handle EINTR and EAGAIN").
No, this patch was based purely off of the comment, and the examples of
similar code in other selftests, e.g. tools/testing/selftests/bpf/xsk.c:
Leo Stone wrote:
> Make pair_udp_send_char handle EAGAIN, EINTR, and partial reads or
> writes.
>
> Signed-off-by: Leo Stone
Did you observe actual issues or is this based on the comment in the
existing code ("Should really handle EINTR and EAGAIN").
AFAIK all the users of psock_lib use default
Make pair_udp_send_char handle EAGAIN, EINTR, and partial reads or
writes.
Signed-off-by: Leo Stone
---
tools/testing/selftests/net/psock_lib.h | 39 +++--
1 file changed, 30 insertions(+), 9 deletions(-)
diff --git a/tools/testing/selftests/net/psock_lib.h
b/tools/testing/
3 matches
Mail list logo