-
- Downloads
af_unix: Remove CONFIG_UNIX_SCM.
Originally, the code related to garbage collection was all in garbage.c. Commit f4e65870 ("net: split out functions related to registering inflight socket files") moved some functions to scm.c for io_uring and added CONFIG_UNIX_SCM just in case AF_UNIX was built as module. However, since commit 97154bcf ("af_unix: Kconfig: make CONFIG_UNIX bool"), AF_UNIX is no longer built separately. Also, io_uring does not support SCM_RIGHTS now. Let's move the functions back to garbage.c Signed-off-by:Kuniyuki Iwashima <kuniyu@amazon.com> Acked-by:
Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/20240129190435.57228-4-kuniyu@amazon.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org>
Showing
- include/net/af_unix.h 4 additions, 3 deletionsinclude/net/af_unix.h
- net/Makefile 1 addition, 1 deletionnet/Makefile
- net/unix/Kconfig 0 additions, 5 deletionsnet/unix/Kconfig
- net/unix/Makefile 0 additions, 2 deletionsnet/unix/Makefile
- net/unix/af_unix.c 61 additions, 2 deletionsnet/unix/af_unix.c
- net/unix/garbage.c 71 additions, 2 deletionsnet/unix/garbage.c
- net/unix/scm.c 0 additions, 150 deletionsnet/unix/scm.c
- net/unix/scm.h 0 additions, 10 deletionsnet/unix/scm.h
Loading
Please register or sign in to comment