diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2019-02-15 15:10:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-16 05:14:25 +0100 |
commit | 4974d5f678abb34401558559d47e2ea3d1c15cba (patch) | |
tree | fc86fe3707eaedbd1dfb5337605d5dab03c63b12 /drivers/net/phy/xilinx_gmii2rgmii.c | |
parent | Merge tag 'mac80211-for-davem-2019-02-15' of git://git.kernel.org/pub/scm/lin... (diff) | |
download | linux-4974d5f678abb34401558559d47e2ea3d1c15cba.tar.xz linux-4974d5f678abb34401558559d47e2ea3d1c15cba.zip |
net: ip6_gre: initialize erspan_ver just for erspan tunnels
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.bianconi@redhat.com>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/xilinx_gmii2rgmii.c')
0 files changed, 0 insertions, 0 deletions