]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: add coalescing attempt in tcp_ofo_queue()
authorEric Dumazet <edumazet@google.com>
Fri, 19 Sep 2014 15:26:20 +0000 (08:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2014 16:47:38 +0000 (12:47 -0400)
commit4b508214e210fa2f635d378fe220a270b8c276cc
treef7d05e03763428dd6c65d6b1a2af66ebf3c68c48
parent0fcdcc7c3da1bbcb9a1fe0730660bc584dfbdb1f
tcp: add coalescing attempt in tcp_ofo_queue()

In order to make TCP more resilient in presence of reorders, we need
to allow coalescing to happen when skbs from out of order queue are
transferred into receive queue. LRO/GRO can be completely canceled
in some pathological cases, like per packet load balancing on aggregated
links.

I had to move tcp_try_coalesce() up in the file above tcp_ofo_queue()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c