[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140516.172546.1197385833815835361.davem@davemloft.net>
Date: Fri, 16 May 2014 17:25:46 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: timo.teras@....fi, edumazet@...gle.com, netdev@...r.kernel.org,
herbert@...dor.apana.org.au
Subject: Re: [PATCH] net: gro: make sure skb->cb[] initial content has not
to be zero
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 16 May 2014 11:34:37 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> Starting from linux-3.13, GRO attempts to build full size skbs.
>
> Problem is the commit assumed one particular field in skb->cb[]
> was clean, but it is not the case on some stacked devices.
>
> Timo reported a crash in case traffic is decrypted before
> reaching a GRE device.
>
> Fix this by initializing NAPI_GRO_CB(skb)->last at the right place,
> this also removes one conditional.
>
> Thanks a lot to Timo for providing full reports and bisecting this.
>
> Fixes: 8a29111c7ca6 ("net: gro: allow to build full sized skb")
> Bisected-by: Timo Teras <timo.teras@....fi>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> Please Timo test this patch so that we confirm it fixes the bug for you.
Applied and queued up for -stable, thanks everyone.
--
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