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

Add a helper to directly set the TCP_USER_TIMEOUT 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>
fs/ocfs2/cluster/tcp.c
include/linux/tcp.h
net/ipv4/tcp.c
net/sunrpc/xprtsock.c