| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * TCP Vegas congestion control |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 292 | 293 | const struct vegas *ca = inet_csk_ca(sk); |
|---|
| 293 | 294 | |
|---|
| 294 | 295 | if (ext & (1 << (INET_DIAG_VEGASINFO - 1))) { |
|---|
| 295 | | - info->vegas.tcpv_enabled = ca->doing_vegas_now, |
|---|
| 296 | | - info->vegas.tcpv_rttcnt = ca->cntRTT, |
|---|
| 297 | | - info->vegas.tcpv_rtt = ca->baseRTT, |
|---|
| 298 | | - info->vegas.tcpv_minrtt = ca->minRTT, |
|---|
| 296 | + info->vegas.tcpv_enabled = ca->doing_vegas_now; |
|---|
| 297 | + info->vegas.tcpv_rttcnt = ca->cntRTT; |
|---|
| 298 | + info->vegas.tcpv_rtt = ca->baseRTT; |
|---|
| 299 | + info->vegas.tcpv_minrtt = ca->minRTT; |
|---|
| 299 | 300 | |
|---|
| 300 | 301 | *attr = INET_DIAG_VEGASINFO; |
|---|
| 301 | 302 | return sizeof(struct tcpvegas_info); |
|---|