mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 19:16:02 +02:00
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: b80d0b93b9 ("net: ip6_gre: fix tunnel metadata device sharing.")
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Xuanqiang Luo <luoxuanqiang@kylinos.cn>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260916230927.378957-1-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
ee319bd3a0
commit
dd47bcf279
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user