Re: [PATCH 13/19] net: split out functions related to registering inflight socket files
From: Hannes Reinecke <hare@suse.de>
Date: 2019-02-09 09:49:09
Also in:
linux-block, netdev
From: Hannes Reinecke <hare@suse.de>
Date: 2019-02-09 09:49:09
Also in:
linux-block, netdev
On 2/8/19 6:34 PM, Jens Axboe wrote:
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. Cc: netdev@vger.kernel.org Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Jens Axboe <axboe@kernel.dk> --- include/net/af_unix.h | 1 + net/unix/Kconfig | 5 ++ net/unix/Makefile | 2 + net/unix/af_unix.c | 63 +----------------- net/unix/garbage.c | 71 +------------------- net/unix/scm.c | 146 ++++++++++++++++++++++++++++++++++++++++++ net/unix/scm.h | 10 +++ 7 files changed, 168 insertions(+), 130 deletions(-) create mode 100644 net/unix/scm.c create mode 100644 net/unix/scm.h
Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to majordomo@kvack.org. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>