Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1496555
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH net 09/13] rxrpc: Add missing notification |
| Date | 2016-10-06 12:10 +0200 |
| Message-ID | <spdMJ-79a-11@gated-at.bofh.it> (permalink) |
| References | <spdMJ-79a-3@gated-at.bofh.it> |
| Organization | Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 |
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>
---
net/rxrpc/call_event.c | 1 +
1 file changed, 1 insertion(+)
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;
}
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH net 09/13] rxrpc: Add missing notification David Howells <dhowells@redhat.com> - 2016-10-06 12:10 +0200
csiph-web