]> 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)
commit3aa24ca55d1c06bfd0676f64e3eb62d5507af6f1
tree395ea12521c20583d18d69a14b5978953a7fca12
parent592cef308cd55a28693098496759567518298647
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