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

Add a helper to directly set the TCP_KEEPCNT 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.h
net/rds/tcp_listen.c
net/sunrpc/xprtsock.c