OSDN Git Service

rxrpc: The IDLE ACK packet should use rxrpc_idle_ack_delay
authorDavid Howells <dhowells@redhat.com>
Tue, 13 Sep 2016 21:36:21 +0000 (22:36 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 13 Sep 2016 21:36:21 +0000 (22:36 +0100)
The IDLE ACK packet should use the rxrpc_idle_ack_delay setting when the
timer is set for it.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/call_event.c

index 2b976e7..6143204 100644 (file)
@@ -95,7 +95,7 @@ static void __rxrpc_propose_ACK(struct rxrpc_call *call, u8 ack_reason,
                break;
 
        case RXRPC_ACK_IDLE:
-               if (rxrpc_soft_ack_delay < expiry)
+               if (rxrpc_idle_ack_delay < expiry)
                        expiry = rxrpc_idle_ack_delay;
                break;