aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_vegas.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-12 11:51:49 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:57:44 -0400
commit73c1f4a033675f168df7e98bbeeafca3c644b8a6 (patch)
tree041e0c203be710b39c8b3a1c18d23e7a50e321a6 /net/ipv4/tcp_vegas.c
parent4f5736c4c7cf6f9bd8db82b712cfdd51c87e06b9 (diff)
[TCPDIAG]: Just rename everything to inet_diag
Next changeset will rename tcp_diag.[ch] to inet_diag.[ch]. I'm taking this longer route so as to easy review, making clear the changes made all along the way. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_vegas.c')
-rw-r--r--net/ipv4/tcp_vegas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_vegas.c b/net/ipv4/tcp_vegas.c
index 054de24efee2..8cef9dc11fb7 100644
--- a/net/ipv4/tcp_vegas.c
+++ b/net/ipv4/tcp_vegas.c
@@ -365,10 +365,10 @@ static void tcp_vegas_get_info(struct sock *sk, u32 ext,
365 struct sk_buff *skb) 365 struct sk_buff *skb)
366{ 366{
367 const struct vegas *ca = inet_csk_ca(sk); 367 const struct vegas *ca = inet_csk_ca(sk);
368 if (ext & (1<<(TCPDIAG_VEGASINFO-1))) { 368 if (ext & (1 << (INET_DIAG_VEGASINFO - 1))) {
369 struct tcpvegas_info *info; 369 struct tcpvegas_info *info;
370 370
371 info = RTA_DATA(__RTA_PUT(skb, TCPDIAG_VEGASINFO, 371 info = RTA_DATA(__RTA_PUT(skb, INET_DIAG_VEGASINFO,
372 sizeof(*info))); 372 sizeof(*info)));
373 373
374 info->tcpv_enabled = ca->doing_vegas_now; 374 info->tcpv_enabled = ca->doing_vegas_now;