af_unix: Minor fixes for MSG_OOB and MSG_PEEK.
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 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | af_unix: Update last skb marker in manage_oob().net/ | +7 | 1 reply | Applied |
| 2/3 | af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer.net/ | +1 | 1 reply | Applied |
| 3/3 | selftest: af_unix: Add zero-buffer test for msg_oob.ctools/ | +67 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 net 0/3] af_unix: Minor fixes for MSG_OOB and MSG_PEEK.
Fahad Alharbi reported blocking recv(MSG_PEEK) could hog CPU due to OOB skb.
Patch 1 and 2 fixes the issues and Patch 3 adds tests.
Kuniyuki Iwashima (3):
af_unix: Update last skb marker in manage_oob().
af_unix: Return immediately when manage_oob() returns NULL for
0-length buffer.
selftest: af_unix: Add zero-buffer test for msg_oob.c
net/unix/af_unix.c | 12 ++-- tools/testing/selftests/net/af_unix/msg_oob.c | 67 +++++++++++++++++++ 2 files changed, 75 insertions(+), 4 deletions(-)
Signature · 1 line
2.55.0.970.g62bdec98f9-goog