[PATCH net 0/6] rxrpc: Miscellaneous fixes
From: David Howells
Date: Mon Oct 05 2020 - 12:18:56 EST
Here are some miscellaneous rxrpc fixes:
(1) Fix the xdr encoding of the contents read from an rxrpc key.
(2) Fix a BUG() for a unsupported encoding type.
(3) Fix missing _bh lock annotations.
(4) Fix acceptance handling for an incoming call where the incoming call
is encrypted.
(5) The server token keyring isn't network namespaced - it belongs to the
server, so there's no need. Namespacing it means that request_key()
fails to find it.
(6) Fix a leak of the server keyring.
The patches are tagged here:
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
rxrpc-fixes-20201005.txt
and can also be found on the following branch:
http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-fixes
David
---
David Howells (5):
rxrpc: Downgrade the BUG() for unsupported token type in rxrpc_read()
rxrpc: Fix some missing _bh annotations on locking conn->state_lock
rxrpc: Fix accept on a connection that need securing
rxrpc: The server keyring isn't network-namespaced
rxrpc: Fix server keyring leak
Marc Dionne (1):
rxrpc: Fix rxkad token xdr encoding
include/uapi/linux/rxrpc.h | 2 +-
net/rxrpc/ar-internal.h | 7 +-
net/rxrpc/call_accept.c | 263 ++++++-------------------------------
net/rxrpc/call_object.c | 5 +-
net/rxrpc/conn_event.c | 8 +-
net/rxrpc/key.c | 8 +-
net/rxrpc/recvmsg.c | 36 +----
net/rxrpc/sendmsg.c | 15 +--
8 files changed, 56 insertions(+), 288 deletions(-)