From: Stephen Hemminger <stephen@networkplumber.org>
To: Chun Long <long.chun@zte.com.cn>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
zhong.weidong@zte.com.cn, wang.liang82@zte.com.cn,
jiang.biao2@zte.com.cn, cai.qu@zte.com.cn
Subject: Re: [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes
Date: Tue, 14 Mar 2017 09:29:34 -0700 [thread overview]
Message-ID: <20170314092934.791228ca@xeon-e3> (raw)
In-Reply-To: <1489476384-16892-1-git-send-email-long.chun@zte.com.cn>
On Tue, 14 Mar 2017 15:26:24 +0800
Chun Long <long.chun@zte.com.cn> wrote:
> From: chun Long <long.chun@zte.com.cn>
>
> replace comma to semi colons in tcp_westwood_info().
>
> ---
> net/ipv4/tcp_westwood.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/ipv4/tcp_westwood.c b/net/ipv4/tcp_westwood.c
> index fed66dc..9775453 100644
> --- a/net/ipv4/tcp_westwood.c
> +++ b/net/ipv4/tcp_westwood.c
> @@ -265,8 +265,8 @@ static size_t tcp_westwood_info(struct sock *sk, u32 ext, int *attr,
> if (ext & (1 << (INET_DIAG_VEGASINFO - 1))) {
> info->vegas.tcpv_enabled = 1;
> info->vegas.tcpv_rttcnt = 0;
> - info->vegas.tcpv_rtt = jiffies_to_usecs(ca->rtt),
> - info->vegas.tcpv_minrtt = jiffies_to_usecs(ca->rtt_min),
> + info->vegas.tcpv_rtt = jiffies_to_usecs(ca->rtt);
> + info->vegas.tcpv_minrtt = jiffies_to_usecs(ca->rtt_min);
>
> *attr = INET_DIAG_VEGASINFO;
> return sizeof(struct tcpvegas_info);
Look fine.
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
next prev parent reply other threads:[~2017-03-14 16:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-14 7:26 [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes Chun Long
2017-03-14 16:29 ` Stephen Hemminger [this message]
2017-03-17 3:24 ` 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=20170314092934.791228ca@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=cai.qu@zte.com.cn \
--cc=davem@davemloft.net \
--cc=jiang.biao2@zte.com.cn \
--cc=long.chun@zte.com.cn \
--cc=netdev@vger.kernel.org \
--cc=wang.liang82@zte.com.cn \
--cc=zhong.weidong@zte.com.cn \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.