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

Add a helper to directly set the TCP_QUICKACK sockopt from kernel space
without going through a fake uaccess.  Cleanup the callers to avoid
pointless wrappers now that this is a simple function call.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_receiver.c
include/linux/tcp.h
net/ipv4/tcp.c