]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97fe246e66e903f49957ce7a63357d5a0bbd7474
tree9829f83bb4ed7babe787f8cea4f0bae2646af83f
parentbf76ba3ed7649f134bc11aa72317b3fa0a12034a
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