diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-01-01 00:39:23 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-02 16:13:20 -0500 |
commit | 843925f33fcc293d80acf2c5c8a78adf3344d49b (patch) | |
tree | 530f87ef25fccc495166de5a2e520e4e94871f9a /net/openvswitch/vport.c | |
parent | c484994eb317f24693fbed6084cf1b4d984ffd3b (diff) | |
download | linux-843925f33fcc293d80acf2c5c8a78adf3344d49b.tar.bz2 |
tcp: Do not apply TSO segment limit to non-TSO packets
Thomas Jarosch reported IPsec TCP stalls when a PMTU event occurs.
In fact the problem was completely unrelated to IPsec. The bug is
also reproducible if you just disable TSO/GSO.
The problem is that when the MSS goes down, existing queued packet
on the TX queue that have not been transmitted yet all look like
TSO packets and get treated as such.
This then triggers a bug where tcp_mss_split_point tells us to
generate a zero-sized packet on the TX queue. Once that happens
we're screwed because the zero-sized packet can never be removed
by ACKs.
Fixes: 1485348d242 ("tcp: Apply device TSO segment limit earlier")
Reported-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Cheers,
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport.c')
0 files changed, 0 insertions, 0 deletions