]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: The server keyring isn't network-namespaced
authorDavid Howells <dhowells@redhat.com>
Wed, 30 Sep 2020 18:52:08 +0000 (19:52 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 5 Oct 2020 15:36:06 +0000 (16:36 +0100)
commitf096fa3a8904eb5277682646480a9f7ae0db8fcc
tree7f98dfa3bdebc4c1c48de60f9b09c6ad40494ba2
parente721619dc87655c45466db86e9844e35326c6517
rxrpc: The server keyring isn't network-namespaced

The keyring containing the server's tokens isn't network-namespaced, so it
shouldn't be looked up with a network namespace.  It is expected to be
owned specifically by the server, so namespacing is unnecessary.

Fixes: 76da096d572d ("keys: Pass the network namespace into request_key mechanism")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/key.c