commit | d66529e879aa72c0727d514a7d04bbcfcb59128d | [log] [tgz] |
---|---|---|
author | Geliang Tang <tanggeliang@kylinos.cn> | Fri Apr 12 10:58:12 2024 +0800 |
committer | Geliang Tang <tanggeliang@kylinos.cn> | Mon Apr 22 10:56:56 2024 +0800 |
tree | 0eddc126a3d86e60dd95d56b7877254d78c40fbb | |
parent | 050801ed72ea7039402b8fe63ab6eef3cdaaf65b [diff] |
selftests/bpf: Add select for send_recv_data Some tests, such as the MPTCP bpf tests, require send_recv_data helper to run in nonblock mode. This patch adds nonblock support for send_recv_data(). Check if it is currently in nonblock mode, and if so, ignore EWOULDBLOCK to continue sending and receiving. Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>