lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170314092934.791228ca@xeon-e3>
Date:   Tue, 14 Mar 2017 09:29:34 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Chun Long <long.chun@....com.cn>
Cc:     davem@...emloft.net, netdev@...r.kernel.org,
        zhong.weidong@....com.cn, wang.liang82@....com.cn,
        jiang.biao2@....com.cn, cai.qu@....com.cn
Subject: Re: [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes

On Tue, 14 Mar 2017 15:26:24 +0800
Chun Long <long.chun@....com.cn> wrote:

> From: chun Long <long.chun@....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@...workplumber.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ