aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-08-09 07:37:30 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:47:56 -0400
commit83ae40885f33e406c87c86b0bd4b6fd31a741f12 (patch)
tree659de08c231db85ec46f0c3bc1b86252a6561e21 /net/ipv4/tcp_input.c
parentb5860bbac7be1381626f3dc8a0cb970a60fcefb4 (diff)
[TCP]: Add tcp_left_out(tp) "back" to get cleaner looking lines
tp->left_out got removed but nothing came to replace it back then (users just did addition by themselves), so add function for users now. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 957e0fb8afb7..6bdd053e252f 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -1969,7 +1969,7 @@ static void DBGUNDO(struct sock *sk, const char *msg)
1969 printk(KERN_DEBUG "Undo %s %u.%u.%u.%u/%u c%u l%u ss%u/%u p%u\n", 1969 printk(KERN_DEBUG "Undo %s %u.%u.%u.%u/%u c%u l%u ss%u/%u p%u\n",
1970 msg, 1970 msg,
1971 NIPQUAD(inet->daddr), ntohs(inet->dport), 1971 NIPQUAD(inet->daddr), ntohs(inet->dport),
1972 tp->snd_cwnd, tp->sacked_out + tp->lost_out, 1972 tp->snd_cwnd, tcp_left_out(tp),
1973 tp->snd_ssthresh, tp->prior_ssthresh, 1973 tp->snd_ssthresh, tp->prior_ssthresh,
1974 tp->packets_out); 1974 tp->packets_out);
1975} 1975}