lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 16 Jan 2015 21:50:13 +1100 From: Herbert Xu <herbert@...dor.apana.org.au> To: Thomas Jarosch <thomas.jarosch@...ra2net.com> Cc: netdev@...r.kernel.org, edumazet@...gle.com, Steffen Klassert <steffen.klassert@...unet.com>, Ben Hutchings <bhutchings@...arflare.com>, "David S. Miller" <davem@...emloft.net> Subject: Re: tcp: Do not apply TSO segment limit to non-TSO packets On Fri, Jan 16, 2015 at 11:45:44AM +0100, Thomas Jarosch wrote: > > For backporting to -stable: Kernel 3.14 lacks tcp_tso_autosize(). > So I've borrowed that from 3.19-rc4+ and also added the max_segs variable. > The final and tested code looks like this: You don't need tcp_tso_autosize. Instead of testing max_segs just test sk->sk_gso_max_segs. Cheers, -- 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