]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'af_unix-fix-two-oob-issues'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 24 Jun 2025 08:10:09 +0000 (10:10 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 24 Jun 2025 08:10:09 +0000 (10:10 +0200)
Kuniyuki Iwashima says:

====================
af_unix: Fix two OOB issues.

From: Kuniyuki Iwashima <kuniyu@google.com>

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().

v1: https://lore.kernel.org/netdev/20250618043453.281247-1-kuni1840@gmail.com/
====================

Link: https://patch.msgid.link/20250619041457.1132791-1-kuni1840@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Trivial merge