Skip to content

Commit

Permalink
rxrpc: Add missing notification
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells committed Oct 6, 2016
1 parent d7833d0 commit 94bc669
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/rxrpc/call_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ void rxrpc_process_call(struct work_struct *work)

if (call->state == RXRPC_CALL_COMPLETE) {
del_timer_sync(&call->timer);
rxrpc_notify_socket(call);
goto out_put;
}

Expand Down

0 comments on commit 94bc669

Please sign in to comment.