]> 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)
commit2dd17f002dd5d0981553c6d5e0ff9d279e9a3336
treeeebfb22dbad653b06ad66ae75863f3ca011510ea
parent87c3f6de058eb43771b171ab5fe279b518b2aad2
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