[PATCH] nvmet: Replace sock_create with sock_create_kern

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Mar 24 16:24:38 PDT 2025


On 3/23/25 20:17, shaopeijie at cestc.cn wrote:
> From: Peijie Shao<shaopeijie at cestc.cn>
>
> Replacing sock_create() with sock_create_kern()
> changes the socket object's label to kernel_t,
> thereby bypassing unnecessary SELinux permission
> checks. It also helps to avoid copy and paste bugs.
>
> Signed-off-by: Peijie Shao<shaopeijie at cestc.cn>

can you please add the version history from next time
when posting new version ?

-ck




More information about the Linux-nvme mailing list