aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorYucong Sun <[email protected]>2021-10-08 13:33:06 -0700
committerAlexei Starovoitov <[email protected]>2021-10-26 12:29:33 -0700
commit67b821502dbd6c9b23715da79cb9b37fa7d969dc (patch)
tree6fc5b73eddb379acff2313d6984eb189cb500f7a /lib/test_overflow.c
parentaf493388950b6ea3a86f860cfaffab137e024fc8 (diff)
selftests/bpf: Use recv_timeout() instead of retries
We use non-blocking sockets in those tests, retrying for EAGAIN is ugly because there is no upper bound for the packet arrival time, at least in theory. After we fix poll() on sockmap sockets, now we can switch to select()+recv(). Signed-off-by: Yucong Sun <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions