Ver Fonte

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>
David Howells há 8 anos atrás
pai
commit
94bc669efa
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      net/rxrpc/call_event.c

+ 1 - 0
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;
 	}