From: Lorenzo Bianconi <lorenzo.bianc...@redhat.com> Date: Fri, 15 Feb 2019 15:10:32 +0100
> After commit c706863bc890 ("net: ip6_gre: always reports o_key to > userspace"), ip6gre and ip6gretap tunnels started reporting TUNNEL_KEY > output flag even if it is not configured. > ip6gre_fill_info checks erspan_ver value to add TUNNEL_KEY for > erspan tunnels, however in commit 84581bdae9587 ("erspan: set > erspan_ver to 1 by default when adding an erspan dev") > erspan_ver is initialized to 1 even for ip6gre or ip6gretap > Fix the issue moving erspan_ver initialization in a dedicated routine > > Fixes: c706863bc890 ("net: ip6_gre: always reports o_key to userspace") > Signed-off-by: Lorenzo Bianconi <lorenzo.bianc...@redhat.com> Applied, thanks.