]> Git Repo - linux.git/commit
af_unix: Remove io_uring code for GC.
authorKuniyuki Iwashima <[email protected]>
Mon, 29 Jan 2024 19:04:34 +0000 (11:04 -0800)
committerJakub Kicinski <[email protected]>
Thu, 1 Feb 2024 00:41:16 +0000 (16:41 -0800)
commit11498715f266a3fb4caabba9dd575636cbcaa8f1
tree9f44f00f4e6614c26bcc4df20292cb3d082e78a8
parentd0f6dc26346863e1f4a23117f5468614e54df064
af_unix: Remove io_uring code for GC.

Since commit 705318a99a13 ("io_uring/af_unix: disable sending
io_uring over sockets"), io_uring's unix socket cannot be passed
via SCM_RIGHTS, so it does not contribute to cyclic reference and
no longer be candidate for garbage collection.

Also, commit 6e5e6d274956 ("io_uring: drop any code related to
SCM_RIGHTS") cleaned up SCM_RIGHTS code in io_uring.

Let's do it in AF_UNIX as well by reverting commit 0091bfc81741
("io_uring/af_unix: defer registered files gc to io_uring release")
and commit 10369080454d ("net: reclaim skb->scm_io_uring bit").

Signed-off-by: Kuniyuki Iwashima <[email protected]>
Acked-by: Jens Axboe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
include/net/af_unix.h
net/unix/garbage.c
net/unix/scm.c
This page took 0.052541 seconds and 4 git commands to generate.