]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: dsa: avoid refcount warnings when ds->ops->tag_8021q_vlan_del() fails
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 14 Apr 2025 21:30:20 +0000 (00:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:43:51 +0000 (10:43 +0200)
commit343246e469c6e01b444a54b6fbf7d6e48132eb69
tree55016c4726b6c18f8b0a29a5e95ecf7ff9d3d275
parent35cde75c08a1fa1a5ac0467afe2709caceeef002
net: dsa: avoid refcount warnings when ds->ops->tag_8021q_vlan_del() fails

[ Upstream commit 514eff7b0aa1c5eb645ddbb8676ef3e2d88a8b99 ]

This is very similar to the problem and solution from commit
232deb3f9567 ("net: dsa: avoid refcount warnings when
->port_{fdb,mdb}_del returns error"), except for the
dsa_port_do_tag_8021q_vlan_del() operation.

Fixes: c64b9c05045a ("net: dsa: tag_8021q: add proper cross-chip notifier support")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20250414213020.2959021-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/dsa/tag_8021q.c