From: Lorenzo Bianconi <lorenzo.bianc...@redhat.com>
Date: Fri, 18 Jan 2019 12:05:39 +0100

> Use ERSPAN key header field as tunnel key in gre_parse_header routine
> since ERSPAN protocol sets the key field of the external GRE header to
> 0 resulting in a tunnel lookup fail in ip6gre_err.
> In addition remove key field parsing and pskb_may_pull check in
> erspan_rcv and ip6erspan_rcv
> 
> Fixes: 5a963eb61b7c ("ip6_gre: Add ERSPAN native tunnel support")
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianc...@redhat.com>
> ---
> Changes since v1:
> - verify that ershdr is in the skb linear area
> - remove duplicated pskb_may_pull checks in erspan_rcv and
>   ip6erspan_rcv  

Applied and queued up for -stable, thank you.

Reply via email to