[PATCH v2 net-next 6/7] socket: Replace most sock_create() calls with sock_create_kern().
Christoph Hellwig
hch at lst.de
Sun May 25 22:35:55 PDT 2025
On Fri, May 23, 2025 at 11:21:12AM -0700, Kuniyuki Iwashima wrote:
> Except for only one user, sctp_do_peeloff(), all sockets created
> by drivers and fs are not tied to userspace processes nor exposed
> via file descriptors.
>
> Let's use sock_create_kern() for such in-kernel use cases as CIFS
> client and NFS.
So if sock_create is now almost unused and the special case, should
it also be renamed to make that explicit and make people not accidentally
use it by default?
More information about the Linux-nvme
mailing list