* [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes
@ 2017-03-14 7:26 Chun Long
2017-03-14 16:29 ` Stephen Hemminger
2017-03-17 3:24 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Chun Long @ 2017-03-14 7:26 UTC (permalink / raw)
To: davem; +Cc: netdev, zhong.weidong, wang.liang82, jiang.biao2, cai.qu, long.chun
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);
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes
2017-03-14 7:26 [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes Chun Long
@ 2017-03-14 16:29 ` Stephen Hemminger
2017-03-17 3:24 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2017-03-14 16:29 UTC (permalink / raw)
To: Chun Long; +Cc: davem, netdev, zhong.weidong, wang.liang82, jiang.biao2, cai.qu
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes
2017-03-14 7:26 [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes Chun Long
2017-03-14 16:29 ` Stephen Hemminger
@ 2017-03-17 3:24 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2017-03-17 3:24 UTC (permalink / raw)
To: long.chun; +Cc: netdev, zhong.weidong, wang.liang82, jiang.biao2, cai.qu
From: Chun Long <long.chun@zte.com.cn>
Date: Tue, 14 Mar 2017 15:26:24 +0800
> From: chun Long <long.chun@zte.com.cn>
>
> replace comma to semi colons in tcp_westwood_info().
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-17 3:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14 7:26 [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes Chun Long
2017-03-14 16:29 ` Stephen Hemminger
2017-03-17 3:24 ` David Miller
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.