Eric Dumazet 36ee106e84 tcp: add tcp_ooo_try_coalesce() helper
commit 58152ecbbcc6a0ce7fddd5bf5f6ee535834ece0c upstream.

In case skb in out_or_order_queue is the result of
multiple skbs coalescing, we would like to get a proper gso_segs
counter tracking, so that future tcp_drop() can report an accurate
number.

I chose to not implement this tracking for skbs in receive queue,
since they are not dropped, unless socket is disconnected.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-09 12:18:00 +02:00
..
2018-05-16 10:08:44 +02:00
2016-12-03 23:54:25 -05:00
2018-04-13 19:48:29 +02:00
2016-05-29 22:33:25 -07:00
2016-10-20 11:23:08 -04:00
2018-07-22 14:27:38 +02:00
2018-05-30 07:50:32 +02:00
2016-08-17 19:36:23 -04:00
2016-08-17 19:36:23 -04:00