]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: new helper to calculate newly delivered
authorYuchung Cheng <ycheng@google.com>
Wed, 18 Apr 2018 06:18:47 +0000 (23:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 17:05:16 +0000 (13:05 -0400)
commit3d92f9c3445f72a98684c68295d2609c3e384eb3
treeeee8f314ed38200cf7a9525ead4bc4bcc5a9bd7a
parent818c6dc6a2ad22a780deb7cc2c1b66bdc1a7de74
tcp: new helper to calculate newly delivered

Add new helper tcp_newly_delivered() to prepare the ECN accounting change.

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