WSL2-Linux-Kernel/include
Pavel Begunkov 0091bfc817 io_uring/af_unix: defer registered files gc to io_uring release
Instead of putting io_uring's registered files in unix_gc() we want it
to be done by io_uring itself. The trick here is to consider io_uring
registered files for cycle detection but not actually putting them down.
Because io_uring can't register other ring instances, this will remove
all refs to the ring file triggering the ->release path and clean up
with io_ring_ctx_free().

Cc: stable@vger.kernel.org
Fixes: 6b06314c47 ("io_uring: add file set registration")
Reported-and-tested-by: David Bouman <dbouman03@gmail.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
[axboe: add kerneldoc comment to skb, fold in skb leak fix]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-10-12 16:30:34 -06:00
..
acpi platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
asm-generic asm-generic updates for v6.1 2022-10-06 12:10:37 -07:00
clocksource
crypto
drm drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
dt-bindings ARM: devicetree updates for 6.1 2022-10-06 11:13:04 -07:00
keys
kunit
kvm
linux io_uring/af_unix: defer registered files gc to io_uring release 2022-10-12 16:30:34 -06:00
math-emu
media
memory
misc
net
pcmcia
ras
rdma
rv
scsi for-6.1/block-2022-10-03 2022-10-07 09:19:14 -07:00
soc ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
sound
target
trace for-6.1/io_uring-2022-10-03 2022-10-07 08:52:43 -07:00
uapi for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
ufs
vdso
video
xen