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
| ||
|
Message-ID: <CADVnQykSY_Q3HL0T1uNO4iUheWTpTsLLF7gCnM4SbJyGp3x6Wg@mail.gmail.com> Date: Thu, 30 Oct 2014 09:51:13 -0400 From: Neal Cardwell <ncardwell@...gle.com> To: Pravin Shelar <pshelar@...ira.com> Cc: alexander.duyck@...il.com, netdev <netdev@...r.kernel.org>, David Miller <davem@...emloft.net>, "H.K. Jerry Chu" <hkchu@...gle.com>, Eric Dumazet <edumazet@...gle.com>, Alexander Duyck <alexander.h.duyck@...hat.com> Subject: Re: [PATCH net] gre: Fix regression in gretap TSO support On Thu, Oct 30, 2014 at 1:14 AM, Pravin Shelar <pshelar@...ira.com> wrote: > On Wed, Oct 29, 2014 at 8:26 PM, <alexander.duyck@...il.com> wrote: >> From: Alexander Duyck <alexander.h.duyck@...hat.com> >> >> On recent kernels I found that TSO on gretap interfaces didn't work. After >> bisecting it I found that commit b884b1a4 had introduced a regression in >> which the Ethernet header was being included in the GRE header length. >> >> This change corrects that by basing the GRE header length on the inner mac >> header in the case of GRE tunnels using transparent Ethernet bridging, and >> uses the network header for all other GRE tunnel types. >> >> Fixes: b884b1a4 ("gre_offload: simplify GRE header length calculation in gre_gso_segment()") Hmm. There may be other protocols, either now or in the future, where we want to be able to have a mac header inside the GRE header, rather than a network header. AFAICT it would be safer to revert b884b1a4, and go back to the previous code (from c50cd357), where we parse the GRE header to figure out its length. neal -- 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