]> git.baikalelectronics.ru Git - kernel.git/commit
net: add sock_set_keepalive
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:15 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:44 +0000 (11:11 -0700)
commit8db529c43ad03e0978f3abcd3182ed30ba032af3
tree188689107da003fa8137181ab48f6ad973414acc
parentdcf823cf62a2671704aea71f18eeede3abb6ca12
net: add sock_set_keepalive

Add a helper to directly set the SO_KEEPALIVE 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/dlm/lowcomms.c
include/net/sock.h
net/core/sock.c
net/rds/tcp_listen.c
net/sunrpc/xprtsock.c