]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
tcp: add tcp_sock_set_syncnt
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:21 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:45 +0000 (11:11 -0700)
commit557eadfcc5ee8f8fa98a795e05ed21db58a65db5
tree395ea12521c20583d18d69a14b5978953a7fca12
parentddd061b8daed3ce0c01109a69c9a2a9f9669f01a
tcp: add tcp_sock_set_syncnt

Add a helper to directly set the TCP_SYNCNT 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
include/linux/tcp.h
net/ipv4/tcp.c