[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150527000342.GA16379@gondor.apana.org.au>
Date: Wed, 27 May 2015 08:03:42 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, ncardwell@...gle.com
Subject: Re: [PATCH net-next] tcp: tcp_tso_autosize() minimum is one packet
Eric Dumazet <eric.dumazet@...il.com> wrote:
>
> - if (tso_segs == 1 || !max_segs) {
> + if (tso_segs == 1) {
What we're testing for here with max_segs is actually the question
"is TSO enabled". So with your patch we will be taking the TSO
code path even when TSO is disabled. Now this may or may not
trigger the original bug that I was trying to fix but it still
feels unsafe.
So please convince me that it is totally safe to take the TSO
code path with TSO disabled, e.g., when PMTU causes tso_segs
to be greater than one.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists