summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/xilinx_gmii2rgmii.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2019-02-15 15:10:32 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-16 05:14:25 +0100
commit4974d5f678abb34401558559d47e2ea3d1c15cba (patch)
treefc86fe3707eaedbd1dfb5337605d5dab03c63b12 /drivers/net/phy/xilinx_gmii2rgmii.c
parentMerge tag 'mac80211-for-davem-2019-02-15' of git://git.kernel.org/pub/scm/lin... (diff)
downloadlinux-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