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

Add a helper to directly set the TCP_NODELAY 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>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Acked-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_receiver.c
drivers/infiniband/sw/siw/siw_cm.c
drivers/nvme/host/tcp.c
drivers/nvme/target/tcp.c
drivers/target/iscsi/iscsi_target_login.c
fs/cifs/connect.c
fs/dlm/lowcomms.c
fs/ocfs2/cluster/tcp.c
include/linux/tcp.h
net/ceph/messenger.c
net/ipv4/tcp.c
net/rds/tcp.c
net/rds/tcp.h
net/rds/tcp_listen.c