浏览代码

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 8 年之前
父节点
当前提交
94bc669efa
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
 	}