]> git.baikalelectronics.ru Git - kernel.git/commit
net: add sock_set_priority
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:11 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:44 +0000 (11:11 -0700)
commit7bd0e2f3e6ef8ca491a2190ceafb0f374ac1ba38
treeef3eeb80b015aa53a98072d925fe7900b8634a07
parentdb2dc2bad6f6989a0e307416e520f24ff8c85087
net: add sock_set_priority

Add a helper to directly set the SO_PRIORITY sockopt from kernel space
without going through a fake uaccess.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nvme/host/tcp.c
drivers/nvme/target/tcp.c
include/net/sock.h
net/core/sock.c