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

incusd/network/bridge: Fix deletion of tunnels and dummy devices #1627

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

montag451
Copy link
Contributor

The previous code relied purely on the name of the device to decide if a device should be deleted which was not correct and could result in the deletion of unwanted devices. The new code ensures that the device is part of the bridge and that its kind is correct before deleting it.

@montag451 montag451 requested a review from stgraber as a code owner February 3, 2025 15:11
The previous code relied purely on the name of the device to decide if
a device should be deleted which was not correct and could result in
the deletion of unwanted devices. The new code ensures that the device
is part of the bridge and that its kind is correct before deleting it.

Signed-off-by: montag451 <[email protected]>
@montag451 montag451 force-pushed the bridge-tun-deletion branch from 0dfcb9f to b3e65e9 Compare February 3, 2025 15:21
@stgraber stgraber merged commit 87aafd9 into lxc:main Feb 11, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants