]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2f7105ab5e7c68677e0efd4fbdb329d8bf1747d
treedbdc85446db7c9e70c44b1ed69b5d29ebea1e129
parent0cad74c5636512031a5877de13f09b03227f1106
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