]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6ebf71bab9fb476fc8132be4c12b88201278f0ca
tree46494a55e668794da37d9f3bda2185a3aedb6930
parent480aeb9639d6a077c611b303a22f9b1e5937d081
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