From: Eric Dumazet <eric.duma...@gmail.com>
Date: Tue, 10 Jan 2017 12:24:15 -0800

> From: Herbert Xu <herb...@gondor.apana.org.au>
> 
> The GRO fast path caches the frag0 address.  This address becomes
> invalid if frag0 is modified by pskb_may_pull or its variants.
> So whenever that happens we must disable the frag0 optimization.
> 
> This is usually done through the combination of gro_header_hard
> and gro_header_slow, however, the IPv6 extension header path did
> the pulling directly and would continue to use the GRO fast path
> incorrectly.
> 
> This patch fixes it by disabling the fast path when we enter the
> IPv6 extension header path.
> 
> Fixes: 78a478d0efd9 ("gro: Inline skb_gro_header and cache frag0 virtual 
> address")
> Reported-by: Slava Shwartsman <slav...@mellanox.com>
> Signed-off-by: Herbert Xu <herb...@gondor.apana.org.au>
> Signed-off-by: Eric Dumazet <eduma...@google.com>

Applied and queued up for -stable.

Reply via email to