]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit40ef92c6ec09bd8aaffccfa41a715d1df5625f95
tree23f65f7f76323bef1a6110720ae0c97725fff893
parentf26e9b2c0bf3a7a515b2e92763182bcd81628a5f
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