net: add sock_set_reuseport
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:17 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:45 +0000 (11:11 -0700)
commitfe31a326a4aadb4a3ba2b21deacc380d06802737
treedbdc85446db7c9e70c44b1ed69b5d29ebea1e129
parent26cfabf9cdd273650126d84a48a7f8dedbcded48
net: add sock_set_reuseport

Add a helper to directly set the SO_REUSEPORT 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>
include/net/sock.h
net/core/sock.c
net/sunrpc/xprtsock.c