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(-)
--
2.55.0.970.g62bdec98f9-goog