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

Delay erasing context from contexts_set during acl_idle_update #322

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

sophimao
Copy link
Contributor

Fixes issue where context is being deleted from contexts_set while traversing through the same context_set, causing undefined behaviour and sometimes crash in acl_idle_update.

@sophimao sophimao marked this pull request as ready for review October 18, 2023 19:03
@sophimao sophimao requested a review from zibaiwan October 18, 2023 19:03
zibaiwan
zibaiwan previously approved these changes Oct 20, 2023
Copy link
Contributor

@zibaiwan zibaiwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Sophie. Looks good except a minor comment.

Fixes issue where context is being deleted from contexts_set while
traversing through the same context_set, causing undefined behaviour
and sometimes crash in acl_idle_update.
@sophimao sophimao merged commit 29bf7b7 into intel:main Oct 24, 2023
@sophimao sophimao deleted the fix-contexts-set branch October 24, 2023 13:02
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