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)
commitbd1e75abf4b3c666f61a5cf90c896aa928a735d5
treef7d05e03763428dd6c65d6b1a2af66ebf3c68c48
parent4cdf507d54525842dfd9f6313fdafba039084046
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