Skip to contentSkip to conversation

ip6_gre: Call ip6erspan_tunnel_unlink_md() in ip6erspan_changelink().

PATCH Applied Kuniyuki Iwashima 4 participants 4 messages Sep 16 – Sep 19

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip6_gre: Call ip6erspan_tunnel_unlink_md() in ip6erspan_changelink().

The cited commit accidentally added ip6gre_tunnel_unlink_md() in ip6erspan_changelink().

Let's correct it to ip6erspan_tunnel_unlink_md().

Fixes b80d0b93b991 ("net: ip6_gre: fix tunnel metadata device sharing.")
---
 net/ipv6/ip6_gre.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/ip6_gre.c +1 -1
index 8ebda0b6a78b..e61cb10b50dc 100644
@@ -2279,7 +2279,7 @@ static int ip6erspan_changelink(struct net_device *dev, struct nlattr *tb[],
 		return PTR_ERR(t);
 
 	ip6erspan_set_version(data, &p);
-	ip6gre_tunnel_unlink_md(ign, t);
+	ip6erspan_tunnel_unlink_md(ign, t);
 	ip6gre_tunnel_unlink(ign, t);
 	ip6erspan_tnl_change(t, &p, !tb[IFLA_MTU]);
 	ip6erspan_tunnel_link_md(ign, t);
Signature · 1 line
2.55.0.1082.g2b9226bbc0-goog
#3 lore raw
In reply to Kuniyuki Iwashima
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Wed, 16 Sep 2026 23:09:24 +0000 you wrote:

The cited commit accidentally added ip6gre_tunnel_unlink_md() in ip6erspan_changelink().

Let's correct it to ip6erspan_tunnel_unlink_md().

Fixes b80d0b93b991 ("net: ip6_gre: fix tunnel metadata device sharing.")

[...]

Here is the summary with links:
- [v1,net] ip6_gre: Call ip6erspan_tunnel_unlink_md() in ip6erspan_changelink().

    https://git.kernel.org/netdev/net/c/dd47bcf279f1

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html