tcp: add tcp_sock_set_cork
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:18 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:45 +0000 (11:11 -0700)
commitdb10538a4b997a77a1fd561adaaa58afc7dcfa2f
treedb24ce6911db584abbbd5e14901b007dc905f942
parentfe31a326a4aadb4a3ba2b21deacc380d06802737
tcp: add tcp_sock_set_cork

Add a helper to directly set the TCP_CORK 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
drivers/block/drbd/drbd_worker.c
fs/cifs/transport.c
include/linux/tcp.h
net/ipv4/tcp.c
net/rds/tcp_send.c