]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: add tcp_sock_set_keepidle
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:23 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:45 +0000 (11:11 -0700)
commit9a3ec7421342d80bcc1b88bbbdbc33b2afeb62b2
treef54423f3d3f22c039e685c108f98ea4d846bc9a0
parente2f7f8046c9e46b4abcb7a957f4e5dfad1618b17
tcp: add tcp_sock_set_keepidle

Add a helper to directly set the TCP_KEEP_IDLE sockopt from kernel
space without going through a fake uaccess.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tcp.h
net/ipv4/tcp.c
net/rds/tcp_listen.c
net/sunrpc/xprtsock.c