]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: add sctp_sock_set_nodelay
authorChristoph Hellwig <hch@lst.de>
Fri, 29 May 2020 12:09:40 +0000 (14:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2020 20:10:39 +0000 (13:10 -0700)
commit0bcb38a9c5d38638aed4257a143e8bdd7a2d9b3f
tree23f65f7f76323bef1a6110720ae0c97725fff893
parent5bffc9640a21e0044ee5aeff3b076c87ae8cf33a
sctp: add sctp_sock_set_nodelay

Add a helper to directly set the SCTP_NODELAY sockopt from kernel space
without going through a fake uaccess.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/dlm/lowcomms.c
include/net/sctp/sctp.h