af_unix: Fix two OOB issues.
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyApplied 4/4
- v14 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* Patch 3: skip the leading consumed OOB skb instead of freeing it
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | af_unix: Don't leave consecutive consumed OOB skbs.net/ | +11 | 0 replies | Applied |
| 2/4 | af_unix: Add test for consecutive consumed OOB.tools/ | +23 | 0 replies | Applied |
| 3/4 | af_unix: Don't set -ECONNRESET for consumed OOB skb.net/ | +12 | 1 reply | Applied |
| 4/4 | selftest: af_unix: Add tests for -ECONNRESET.tools/ | +115 | 0 replies | Applied |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Jann Horn | Christian Brauner |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | ||
| 3/4 | A-b | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net 0/4] af_unix: Fix two OOB issues.
From: Kuniyuki Iwashima <[email protected]>
Recently, two issues are reported regarding MSG_OOB.
Patch 1 fixes issues that happen when multiple consumed OOB skbs are placed consecutively in the recv queue.
Patch 2 fixes an inconsistent behaviour that close()ing a socket with a consumed OOB skb at the head of the recv queue triggers -ECONNRESET on the peer's recv().
Changes:
v2:
* Patch 3: skip the leading consumed OOB skb instead of freeing it
v1: https://lore.kernel.org/netdev/[email protected]/
Kuniyuki Iwashima (4):
af_unix: Don't leave consecutive consumed OOB skbs.
af_unix: Add test for consecutive consumed OOB.
af_unix: Don't set -ECONNRESET for consumed OOB skb.
selftest: af_unix: Add tests for -ECONNRESET.
net/unix/af_unix.c | 31 +++- tools/testing/selftests/net/af_unix/msg_oob.c | 142 +++++++++++++++++- 2 files changed, 161 insertions(+), 12 deletions(-)
Signature · 1 line
2.49.0