summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/call_event.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-09-23 12:39:23 +0100
committerDavid Howells <dhowells@redhat.com>2016-09-23 14:05:12 +0100
commitdfc3da4404ad1ec42a0a649a4ffa2b0f37e80352 (patch)
treea2dadd235014eaa65bca49d85c89c2678bf2391f /net/rxrpc/call_event.c
parent98dafac5697fbe1fb4bef9e3204baf9051641b00 (diff)
downloadop-kernel-dev-dfc3da4404ad1ec42a0a649a4ffa2b0f37e80352.zip
op-kernel-dev-dfc3da4404ad1ec42a0a649a4ffa2b0f37e80352.tar.gz
rxrpc: Need to start the resend timer on initial transmission
When a DATA packet has its initial transmission, we may need to start or adjust the resend timer. Without this we end up relying on being sent a NACK to initiate the resend. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/call_event.c')
-rw-r--r--net/rxrpc/call_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/call_event.c b/net/rxrpc/call_event.c
index a2909da..3a7f90a 100644
--- a/net/rxrpc/call_event.c
+++ b/net/rxrpc/call_event.c
@@ -24,7 +24,7 @@
/*
* Set the timer
*/
-static void rxrpc_set_timer(struct rxrpc_call *call)
+void rxrpc_set_timer(struct rxrpc_call *call)
{
unsigned long t, now = jiffies;
OpenPOWER on IntegriCloud