af_unix: Fix SO_PEEK_OFF bug in unix_stream_read_generic().
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 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | af_unix: Read sk_peek_offset() again after sleeping in unix_stream_read_generic().net/ | +1 | 0 replies | Applied |
| 2/2 | selftest: af_unix: Add test for SO_PEEK_OFF.tools/ tools/ tools/ | +164 | 4 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 net 0/2] af_unix: Fix SO_PEEK_OFF bug in unix_stream_read_generic().
Miao Wang reported a bug of SO_PEEK_OFF on AF_UNIX SOCK_STREAM socket.
Patch 1 fixes the bug and Patch 2 adds a new selftest to cover the case.
Kuniyuki Iwashima (2):
af_unix: Read sk_peek_offset() again after sleeping in
unix_stream_read_generic().
selftest: af_unix: Add test for SO_PEEK_OFF.
net/unix/af_unix.c | 3 +- tools/testing/selftests/net/.gitignore | 1 + tools/testing/selftests/net/af_unix/Makefile | 1 + .../selftests/net/af_unix/so_peek_off.c | 162 ++++++++++++++++++ 4 files changed, 165 insertions(+), 2 deletions(-) create mode 100644 tools/testing/selftests/net/af_unix/so_peek_off.c
Signature · 1 line
2.52.0.rc1.455.g30608eb744-goog