• Ben Hutchings's avatar
    Revert "tcp: Apply device TSO segment limit earlier" · 64991747
    Ben Hutchings authored
    This reverts commit 9f871e88, which
    was commit 1485348d upstream.
    
    It can cause connections to stall when a PMTU event occurs.  This was
    fixed by commit 843925f3 ("tcp: Do not apply TSO segment limit to
    non-TSO packets") upstream, but that depends on other changes to TSO.
    
    The original issue this fixed was a performance regression for the sfc
    driver in extreme cases of TSO (skb with > 100 segments).  This is not
    really very important and it seems best to revert it rather than try
    to fix it up.
    Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
    Cc: Herbert Xu <herbert@gondor.apana.org.au>
    Cc: netdev@vger.kernel.org
    Cc: linux-net-drivers@solarflare.com
    64991747
sock.c 64.5 KB