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 #449

Merged
merged 1 commit into from
Sep 2, 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 neigh removal as well.

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 <[email protected]>
@KanjiMonster
Copy link
Contributor Author

Pipeline 76747 with changes applied ran successfully.

@KanjiMonster KanjiMonster marked this pull request as ready for review August 21, 2024 08:07
@rubensfig rubensfig merged commit a251eb5 into main Sep 2, 2024
5 checks passed
@rubensfig rubensfig deleted the jogo_del_neigh_delete_vlan branch September 2, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants