summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-10-02 14:04:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-14 09:46:23 +0200
commite5e3293bd5a022b2c0d95123e753bd931f702f3f (patch)
tree4ef2134579129820caa870f7e2b92d644159a599 /include/linux/fpga/fpga-mgr.h
parent74c09469251b97f0885db64c81c691f891e45c3f (diff)
rxrpc: Fix server keyring leak
[ Upstream commit 38b1dc47a35ba14c3f4472138ea56d014c2d609b ] If someone calls setsockopt() twice to set a server key keyring, the first keyring is leaked. Fix it to return an error instead if the server key keyring is already set. Fixes: 17926a79320a ("[AF_RXRPC]: Provide secure RxRPC sockets for use by userspace and kernel both") Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions