projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce5a453
)
ip6_gre: remove redundant 'tunnel' setting in ip6erspan_tap_init()
author
Alexey Kodanev
<alexey.kodanev@oracle.com>
Fri, 30 Mar 2018 17:34:33 +0000
(20:34 +0300)
committer
David S. Miller
<davem@davemloft.net>
Sun, 1 Apr 2018 18:02:32 +0000
(14:02 -0400)
'tunnel' was already set at the start of ip6erspan_tap_init().
Fixes: 5a963eb61b7c ("ip6_gre: Add ERSPAN native tunnel support")
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ip6_gre.c
b/net/ipv6/ip6_gre.c
index 22e86557aca45baa79b224f9319c0a7213f29ebb..f8a103bdbd603be103bf6c18ed6a55703aab18df 100644
(file)
--- a/
net/ipv6/ip6_gre.c
+++ b/
net/ipv6/ip6_gre.c
@@
-1762,7
+1762,6
@@
static int ip6erspan_tap_init(struct net_device *dev)
dev->mtu -= 8;
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
- tunnel = netdev_priv(dev);
ip6gre_tnl_link_config(tunnel, 1);
return 0;