mbox series

[net,0/2] rxrpc: Fix hang due to missing notification

Message ID 159164218727.2758133.1046957228494479308.stgit@warthog.procyon.org.uk
Headers show
Series rxrpc: Fix hang due to missing notification | expand

Message

David Howells June 8, 2020, 6:49 p.m. UTC
Here's a fix for AF_RXRPC.  Occasionally calls hang because there are
circumstances in which rxrpc generate a notification when a call is
completed - primarily because initial packet transmission failed and the
call was killed off and an error returned.  But the AFS filesystem driver
doesn't check this under all circumstances, expecting failure to be
delivered by asynchronous notification.

There are two patches: the first moves the problematic bits out-of-line and
the second contains the fix.

The patches are tagged here:

	git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
	rxrpc-fixes-20200605

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 (1):
      rxrpc: Fix missing notification


 net/rxrpc/ar-internal.h | 119 ++++++++++--------------------------------------
 net/rxrpc/call_event.c  |   1 -
 net/rxrpc/conn_event.c  |   7 ++-
 net/rxrpc/input.c       |   7 +--
 net/rxrpc/peer_event.c  |   4 +-
 net/rxrpc/recvmsg.c     |  79 ++++++++++++++++++++++++++++++++
 net/rxrpc/sendmsg.c     |   4 +-
 7 files changed, 111 insertions(+), 110 deletions(-)