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)
commitddd061b8daed3ce0c01109a69c9a2a9f9669f01a
treeeebfb22dbad653b06ad66ae75863f3ca011510ea
parent12abc5ee7873a085cc280240822b8ac53c86fecd
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