Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nl_l3::del_l3_neigh_egress(): remove created VLAN as well #453

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

KanjiMonster
Copy link
Contributor

In add_l3_neigh_egress() we add a VLAN (reference), but we never remove it in del_l3_neigh_egress(). This creates a reference imbalance, and causes the vlan to be never deleted once there was a neighbor on an interface.

Fix this by removing the VLAN on removal as well.

(cherry picked from commit 0bc0610)

This is a backport of #449

In add_l3_neigh_egress() we add a VLAN (reference), but we never remove
it in del_l3_neigh_egress(). This creates a reference imbalance, and
causes the vlan to be never deleted once there was a neighbor on an
interface.

Fix this by removing the VLAN on removal as well.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
(cherry picked from commit 0bc0610)
Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
@KanjiMonster
Copy link
Contributor Author

This should fix the remaining vlan-interface test failures for v4.x

@rubensfig rubensfig merged commit 8206366 into 1.x Dec 13, 2024
4 checks passed
@rubensfig rubensfig deleted the jogo_1.x_del_neigh_delete_vlan branch December 13, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants