net: add sock_set_rcvbuf
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:16 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:44 +0000 (11:11 -0700)
commit26cfabf9cdd273650126d84a48a7f8dedbcded48
treec4db68de1b6ef5052a693c5180446e6de357516f
parentce3d9544cecacd40389c399d2b7ca31acc533b70
net: add sock_set_rcvbuf

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/dlm/lowcomms.c
include/net/sock.h
net/core/sock.c