]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: add ip_sock_set_tos
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:26 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:45 +0000 (11:11 -0700)
commit2e3696dfd0becb167041c5dc6851ef3b99c1b02d
tree46494a55e668794da37d9f3bda2185a3aedb6930
parent978b294215b3e24ecedf1735103b246ef22eae37
ipv4: add ip_sock_set_tos

Add a helper to directly set the IP_TOS 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/ip.h
net/ipv4/ip_sockglue.c