aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_westwood.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_westwood.c')
-rw-r--r--net/ipv4/tcp_westwood.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_westwood.c b/net/ipv4/tcp_westwood.c
index d8a5a2b92e37..395100317875 100644
--- a/net/ipv4/tcp_westwood.c
+++ b/net/ipv4/tcp_westwood.c
@@ -216,11 +216,11 @@ static void tcp_westwood_info(struct sock *sk, u32 ext,
216 struct sk_buff *skb) 216 struct sk_buff *skb)
217{ 217{
218 const struct westwood *ca = inet_csk_ca(sk); 218 const struct westwood *ca = inet_csk_ca(sk);
219 if (ext & (1<<(TCPDIAG_VEGASINFO-1))) { 219 if (ext & (1 << (INET_DIAG_VEGASINFO - 1))) {
220 struct rtattr *rta; 220 struct rtattr *rta;
221 struct tcpvegas_info *info; 221 struct tcpvegas_info *info;
222 222
223 rta = __RTA_PUT(skb, TCPDIAG_VEGASINFO, sizeof(*info)); 223 rta = __RTA_PUT(skb, INET_DIAG_VEGASINFO, sizeof(*info));
224 info = RTA_DATA(rta); 224 info = RTA_DATA(rta);
225 info->tcpv_enabled = 1; 225 info->tcpv_enabled = 1;
226 info->tcpv_rttcnt = 0; 226 info->tcpv_rttcnt = 0;