diff options
author | David Howells <dhowells@redhat.com> | 2016-10-06 08:11:50 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-10-06 08:11:50 +0100 |
commit | 94bc669efa3beb1f6b171f5a3225079bc457d4a2 (patch) | |
tree | a8568461f080502d6c23412e063107761b5b2ccf /net/rxrpc | |
parent | d7833d00915e1fb5743e94d3c207810b30e9fc38 (diff) | |
download | linux-94bc669efa3beb1f6b171f5a3225079bc457d4a2.tar.gz linux-94bc669efa3beb1f6b171f5a3225079bc457d4a2.tar.bz2 linux-94bc669efa3beb1f6b171f5a3225079bc457d4a2.zip |
rxrpc: Add missing notification
The call's background processor work item needs to notify the socket when
it completes a call so that recvmsg() or the AFS fs can deal with it.
Without this, call expiry isn't handled.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc')
-rw-r--r-- | net/rxrpc/call_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/call_event.c b/net/rxrpc/call_event.c index e2a987fd31ce..0f91d329e910 100644 --- a/net/rxrpc/call_event.c +++ b/net/rxrpc/call_event.c @@ -372,6 +372,7 @@ recheck_state: if (call->state == RXRPC_CALL_COMPLETE) { del_timer_sync(&call->timer); + rxrpc_notify_socket(call); goto out_put; } |