]> git.baikalelectronics.ru Git - 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)
commite3ab98eea5ca006859e1844ccebf67e55419f7ab
tree395ea12521c20583d18d69a14b5978953a7fca12
parent2dd17f002dd5d0981553c6d5e0ff9d279e9a3336
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