tcp: add tcp_sock_set_keepintvl
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:24 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:45 +0000 (11:11 -0700)
commitd41ecaac903c9f4658a71d4e7a708673cfb5abba
tree331fe773fd40fda6cd7469c3c05e5671019ce703
parent71c48eb81c9ecb6fed49dc33e7c9b621fdcb7bf8
tcp: add tcp_sock_set_keepintvl

Add a helper to directly set the TCP_KEEPINTVL 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