[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALYGNiMDqQyZYivuWahMkaqbJs0aLvzZGj0pUnxbd_XhkHLvUA@mail.gmail.com>
Date: Fri, 8 Jan 2016 15:10:31 +0300
From: Konstantin Khlebnikov <koct9i@...il.com>
To: Linux Kernel Network Developers <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>
Cc: dev@...nvswitch.org,
Thadeu Lima de Souza Cascardo <cascardo@...hat.com>,
Eric Dumazet <edumazet@...gle.com>,
Florian Westphal <fw@...len.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Pravin Shelar <pshelar@...ira.com>,
Cong Wang <xiyou.wangcong@...il.com>
Subject: Re: [PATCH] net: preserve IP control block during GSO segmentation
On Fri, Jan 8, 2016 at 3:00 PM, Konstantin Khlebnikov <koct9i@...il.com> wrote:
> Skb_gso_segment() uses skb control block during segmentation.
> This patch adds 32-bytes room for previous control block which
> will be copied into all resulting segments.
>
> This patch fixes kernel crash during fragmenting forwarded packets.
> Fragmentation requires valid IP CB in skb for clearing ip options.
> Also patch removes custom save/restore in ovs code, now it's redundant.
>
> Signed-off-by: Konstantin Khlebnikov <koct9i@...il.com>
> Link: http://lkml.kernel.org/r/CALYGNiP-0MZ-FExV2HutTvE9U-QQtkKSoE--KN=JQE5STYsjAA@mail.gmail.com
This patch is alternative for [PATCH] net: prevent corruption of skb when using
skb_gso_segment by Thadeu Lima de Souza Cascardo. This version have
no stack allocations and no changes in code. It just shifts gso cb.
Powered by blists - more mailing lists