From: Florian Westphal <fw@strlen.de>
To: <netdev@vger.kernel.org>
Cc: dhowells@redhat.com, linux-afs@lists.infradead.org,
Florian Westphal <fw@strlen.de>
Subject: [PATCH 2/2] rxrpc: don't multiply with HZ twice
Date: Sat, 28 Feb 2015 11:51:37 +0100 [thread overview]
Message-ID: <1425120697-27791-2-git-send-email-fw@strlen.de> (raw)
In-Reply-To: <1425120697-27791-1-git-send-email-fw@strlen.de>
rxrpc_resend_timeout has an initial value of 4 * HZ; use it as-is.
Signed-off-by: Florian Westphal <fw@strlen.de>
---
net/rxrpc/ar-ack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
}
--
2.0.5
next prev parent reply other threads:[~2015-02-28 10:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-28 10:51 [PATCH 1/2] rxrpc: terminate retrans loop when sending of skb fails Florian Westphal
2015-02-28 10:51 ` Florian Westphal [this message]
2015-03-01 19:01 ` [PATCH 2/2] rxrpc: don't multiply with HZ twice David Miller
2015-03-01 19:01 ` [PATCH 1/2] rxrpc: terminate retrans loop when sending of skb fails David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1425120697-27791-2-git-send-email-fw@strlen.de \
--to=fw@strlen.de \
--cc=dhowells@redhat.com \
--cc=linux-afs@lists.infradead.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).