Commit be7164cd authored by chun Long's avatar chun Long Committed by David S. Miller

tcp_westwood: fix tcp_westwood_info() style mistakes

replace comma to semi colons in tcp_westwood_info().
Acked-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0c88a761
...@@ -265,8 +265,8 @@ static size_t tcp_westwood_info(struct sock *sk, u32 ext, int *attr, ...@@ -265,8 +265,8 @@ static size_t tcp_westwood_info(struct sock *sk, u32 ext, int *attr,
if (ext & (1 << (INET_DIAG_VEGASINFO - 1))) { if (ext & (1 << (INET_DIAG_VEGASINFO - 1))) {
info->vegas.tcpv_enabled = 1; info->vegas.tcpv_enabled = 1;
info->vegas.tcpv_rttcnt = 0; info->vegas.tcpv_rttcnt = 0;
info->vegas.tcpv_rtt = jiffies_to_usecs(ca->rtt), info->vegas.tcpv_rtt = jiffies_to_usecs(ca->rtt);
info->vegas.tcpv_minrtt = jiffies_to_usecs(ca->rtt_min), info->vegas.tcpv_minrtt = jiffies_to_usecs(ca->rtt_min);
*attr = INET_DIAG_VEGASINFO; *attr = INET_DIAG_VEGASINFO;
return sizeof(struct tcpvegas_info); return sizeof(struct tcpvegas_info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment