tcp_westwood: fix tcp_westwood_info() style mistakes
authorchun Long <long.chun@zte.com.cn>
Tue, 14 Mar 2017 07:26:24 +0000 (15:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2017 03:23:28 +0000 (20:23 -0700)
replace comma to semi colons in tcp_westwood_info().
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_westwood.c

index fed66dc0e0f5f242cf0af25434fa9cfa89998958..9775453b8d174c848dc09df83d1fa185422cd8cc 100644 (file)
@@ -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);