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

lxd: network.limit-related bugfixes #12170

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

mihalicyn
Copy link
Member

@tomponline
Copy link
Member

@mihalicyn did you rebase your branch on main btw as the doc builds are failing?

When new net device appears on the host special event
is generated and put in chNetlinkNetwork channel.

We don't want to skip the entire hotplug logic if
netprio cgroup is not present. First of all we have
appropriate check for netprio cgroup in deviceNetworkPriority()
and we should not skip networkAutoAttach.

Instead, let's filter out device removal events.

Signed-off-by: Alexander Mikhalitsyn <[email protected]>
…etNetworkPriority

Signed-off-by: Alexander Mikhalitsyn <[email protected]>
@mihalicyn mihalicyn requested a review from tomponline August 22, 2023 14:44
@tomponline tomponline changed the title network.limit-related bugfixes lxd: network.limit-related bugfixes Aug 22, 2023
@tomponline tomponline merged commit c866032 into canonical:main Aug 22, 2023
@tomponline
Copy link
Member

Thanks!

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