tcp: make is_dupack a parameter to tcp_fastretrans_alert()
authorNeal Cardwell <ncardwell@google.com>
Wed, 16 Nov 2011 08:58:01 +0000 (08:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Nov 2011 23:54:08 +0000 (18:54 -0500)
commit7d2b55f80d62b6b4b72d9ef4318a2a49df3e2830
tree9829f83bb4ed7babe787f8cea4f0bae2646af83f
parentc140d769c2b6d87148203a78aa0d72595a19b2de
tcp: make is_dupack a parameter to tcp_fastretrans_alert()

Allow callers to decide whether an ACK is a duplicate ACK. This is a
prerequisite to allowing fastretrans_alert to be called from new
contexts, such as the no_queue and old_ack code paths, from which we
have extra info that tells us whether an ACK is a dupack.

Signed-off-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c