Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 072dfad5 authored by Jens Axboe's avatar Jens Axboe Committed by PavanKumar S.R
Browse files

net: split out functions related to registering inflight socket files



commit f4e65870e5cede5ca1ec0006b6c9803994e5f7b8 upstream.

We need this functionality for the io_uring file registration, but
we cannot rely on it since CONFIG_UNIX can be modular. Move the helpers
to a separate file, that's always builtin to the kernel if CONFIG_UNIX is
m/y.

No functional changes in this patch, just moving code around.

Reviewed-by: default avatarHannes Reinecke <hare@suse.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
[ backported to older kernels to get access to unix_gc_lock - gregkh ]
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: I4e7fa4da3f548b9dadacc8d5782fb1370dbf27b4
Git-commit: db44d020
Git-repo: https://android.googlesource.com/kernel/msm


Signed-off-by: default avatarPavanKumar S.R <quic_pavasr@quicinc.com>
parent 2959ed5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment