af_unix: Fix bunch of MSG_OOB bugs and add new tests.
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 11 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | selftest: af_unix: Remove test_unix_oob.c.tools/ tools/ tools/ | +1 | 0 replies | Applied |
| 2/11 | selftest: af_unix: Add msg_oob.c.tools/ tools/ | +221 | 3 replies | Applied |
| 3/11 | af_unix: Stop recv(MSG_PEEK) at consumed OOB skb.net/ tools/ | +29 | 5 replies | Applied |
| 4/11 | af_unix: Don't stop recv(MSG_DONTWAIT) if consumed OOB skb is at the head.net/ tools/ | +26 | 0 replies | Applied |
| 5/11 | selftest: af_unix: Add non-TCP-compliant test cases in msg_oob.c.tools/ | +44 | 0 replies | Applied |
| 6/11 | af_unix: Don't stop recv() at consumed ex-OOB skb.net/ tools/ | +17 | 0 replies | Applied |
| 7/11 | selftest: af_unix: Add SO_OOBINLINE test cases in msg_oob.ctools/ | +91 | 0 replies | Applied |
| 8/11 | selftest: af_unix: Check SIGURG after every send() in msg_oob.ctools/ | +50 | 0 replies | Applied |
| 9/11 | selftest: af_unix: Check EPOLLPRI after every send()/recv() in msg_oob.ctools/ | +147 | 0 replies | Applied |
| 10/11 | af_unix: Fix wrong ioctl(SIOCATMARK) when consumed OOB skb is at the head.net/ tools/ | +81 | 0 replies | Applied |
| 11/11 | selftest: af_unix: Check SIOCATMARK after every send()/recv() in msg_oob.c.tools/ | +72 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 net 00/11] af_unix: Fix bunch of MSG_OOB bugs and add new tests.
This series rewrites the selftest for AF_UNIX MSG_OOB and fixes bunch of bugs that AF_UNIX behaves differently compared to TCP.
Note that the test discovered few more bugs in TCP side, which will be fixed in another series.
Kuniyuki Iwashima (11):
selftest: af_unix: Remove test_unix_oob.c.
selftest: af_unix: Add msg_oob.c.
af_unix: Stop recv(MSG_PEEK) at consumed OOB skb.
af_unix: Don't stop recv(MSG_DONTWAIT) if consumed OOB skb is at the
head.
selftest: af_unix: Add non-TCP-compliant test cases in msg_oob.c.
af_unix: Don't stop recv() at consumed ex-OOB skb.
selftest: af_unix: Add SO_OOBINLINE test cases in msg_oob.c
selftest: af_unix: Check SIGURG after every send() in msg_oob.c
selftest: af_unix: Check EPOLLPRI after every send()/recv() in
msg_oob.c
af_unix: Fix wrong ioctl(SIOCATMARK) when consumed OOB skb is at the
head.
selftest: af_unix: Check SIOCATMARK after every send()/recv() in
msg_oob.c.
net/unix/af_unix.c | 37 +- tools/testing/selftests/net/.gitignore | 1 - tools/testing/selftests/net/af_unix/Makefile | 2 +- tools/testing/selftests/net/af_unix/msg_oob.c | 734 ++++++++++++++++++ .../selftests/net/af_unix/test_unix_oob.c | 436 ----------- 5 files changed, 766 insertions(+), 444 deletions(-) create mode 100644 tools/testing/selftests/net/af_unix/msg_oob.c delete mode 100644 tools/testing/selftests/net/af_unix/test_unix_oob.c
Signature · 1 line
2.30.2