diff options
author | Florian Westphal <fw@strlen.de> | 2015-02-28 10:51:37 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-01 18:40:23 (GMT) |
commit | 765dd3bb44711b4ba36c1e06f9c4b7bfe73ffef7 (patch) | |
tree | 909d2f6c9ab0984f048c4a597835f2b2ed354ba5 | |
parent | c03ae533a9c4de83a35105f9bfd7152d916b4680 (diff) | |
download | linux-765dd3bb44711b4ba36c1e06f9c4b7bfe73ffef7.tar.xz |
rxrpc: don't multiply with HZ twice
rxrpc_resend_timeout has an initial value of 4 * HZ; use it as-is.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/rxrpc/ar-ack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/ar-ack.c b/net/rxrpc/ar-ack.c index 4040418..e0547f5 100644 --- a/net/rxrpc/ar-ack.c +++ b/net/rxrpc/ar-ack.c @@ -260,7 +260,7 @@ static void rxrpc_resend(struct rxrpc_call *call) sp->resend_at = jiffies + 3; } else { sp->resend_at = - jiffies + rxrpc_resend_timeout * HZ; + jiffies + rxrpc_resend_timeout; } } |