OSDN Git Service

tcp: new helper tcp_timeout_mark_lost
authorYuchung Cheng <ycheng@google.com>
Wed, 16 May 2018 23:40:14 +0000 (16:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 19:41:29 +0000 (15:41 -0400)
commit2ad55f5660158d8a12c06486d32a7c47fa5f116b
tree7808086db33bbd720587b803323447da526ae176
parentd716bfdb10b4250617783c94253e48b0e85adcb1
tcp: new helper tcp_timeout_mark_lost

Refactor using a new helper, tcp_timeout_mark_loss(), that marks packets
lost upon RTO.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com>
Reviewed-by: Priyaranjan Jha <priyarjha@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c