]> 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)
commitd8fb1965d6f6cba49b4bc762cccea7b9a4897260
tree46494a55e668794da37d9f3bda2185a3aedb6930
parentf5d1baa1c3c7d5f6f2e40465e92c7115929ebf93
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