Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 6.12.y 0/9] Backport "af_unix: Drop all SCM attributes for SOCKMAP"
@ 2026-07-17 17:29 Heiko Stuebner
  2026-07-17 17:29 ` [PATCH 6.12.y 1/9] net: dropreason: Gather SOCKET_ drop reasons Heiko Stuebner
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Heiko Stuebner @ 2026-07-17 17:29 UTC (permalink / raw)
  To: stable; +Cc: heiko, quentin.schulz, kuniyu, kuniyu, Heiko Stuebner

From: Heiko Stuebner <heiko.stuebner@cherry.de>

This series backports the "Drop all SCM attributes for SOCKMAP" for
af_unix onto 6.12.

All patches before that are dependencies for that to apply cleanly.
Therefore all patches are clean cherry-picks onto 6.12.95 without
any modifications.


Patches 1-4 are part of the series [0]
  "af_unix: Set skb drop reason in every kfree_skb() path."

Patches 6-8 are part of the series [1]
  "af_unix: Introduce SO_INQ & SCM_INQ."


I tested:
- the test-cases described in the "Set drop reason ..." patches
  and confirmed the expected result still apears.
- manual tests via netcat
- ran stress-ng with the "--sock-domain unix" option for the sock-stressor
  for 30 minutes

So I'm pretty hopeful of not having broken anything.


[0] https://lore.kernel.org/all/20250116053441.5758-1-kuniyu@amazon.com/
[1] https://lore.kernel.org/all/20250702223606.1054680-1-kuniyu@google.com/

Alexander Mikhalitsyn (1):
  af_unix/scm: fix whitespace errors

Kuniyuki Iwashima (8):
  net: dropreason: Gather SOCKET_ drop reasons.
  af_unix: Set drop reason in unix_release_sock().
  af_unix: Set drop reason in manage_oob().
  af_unix: Set drop reason in unix_stream_read_skb().
  af_unix: Don't hold unix_state_lock() in __unix_dgram_recvmsg().
  af_unix: Don't check SOCK_DEAD in unix_stream_read_skb().
  af_unix: Don't use skb_recv_datagram() in unix_stream_read_skb().
  af_unix: Drop all SCM attributes for SOCKMAP.

 include/net/dropreason-core.h | 21 +++++---
 include/net/scm.h             |  4 +-
 net/unix/af_unix.c            | 92 ++++++++++++++++++++---------------
 3 files changed, 69 insertions(+), 48 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-07-21 15:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-17 17:29 [PATCH 6.12.y 0/9] Backport "af_unix: Drop all SCM attributes for SOCKMAP" Heiko Stuebner
2026-07-17 17:29 ` [PATCH 6.12.y 1/9] net: dropreason: Gather SOCKET_ drop reasons Heiko Stuebner
2026-07-17 17:29 ` [PATCH 6.12.y 2/9] af_unix: Set drop reason in unix_release_sock() Heiko Stuebner
2026-07-17 17:29 ` [PATCH 6.12.y 3/9] af_unix: Set drop reason in manage_oob() Heiko Stuebner
2026-07-17 17:29 ` [PATCH 6.12.y 4/9] af_unix: Set drop reason in unix_stream_read_skb() Heiko Stuebner
2026-07-17 17:29 ` [PATCH 6.12.y 5/9] af_unix/scm: fix whitespace errors Heiko Stuebner
2026-07-17 17:29 ` [PATCH 6.12.y 6/9] af_unix: Don't hold unix_state_lock() in __unix_dgram_recvmsg() Heiko Stuebner
2026-07-17 17:29 ` [PATCH 6.12.y 7/9] af_unix: Don't check SOCK_DEAD in unix_stream_read_skb() Heiko Stuebner
2026-07-17 17:29 ` [PATCH 6.12.y 8/9] af_unix: Don't use skb_recv_datagram() " Heiko Stuebner
2026-07-17 17:29 ` [PATCH 6.12.y 9/9] af_unix: Drop all SCM attributes for SOCKMAP Heiko Stuebner
2026-07-19 15:00 ` [PATCH 6.12.y 0/9] Backport "af_unix: Drop all SCM attributes for SOCKMAP" Sasha Levin
2026-07-21 15:35   ` Heiko Stübner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox