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

Unlock mutex before returning from function #24259

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

emakrushin
Copy link
Contributor

mapMutex is initialized in the ContainerRm function and cannot be released from outside,
thus unlock mutex before returning from function.

Does this PR introduce a user-facing change?

None

@mheon
Copy link
Member

mheon commented Oct 14, 2024

LGTM, good catch. But you need to add a signoff to your commit (git commit --amend -s should do it)

mheon and others added 2 commits October 14, 2024 18:22
I'll also throw this on Podman.io and maybe write a short blog
about it there.

Signed-off-by: Matt Heon <[email protected]>
mapMutex is initialized in the ContainerRm function and cannot be released from outside,
thus unlock mutex before returning from function.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Егор Макрушин <[email protected]>
@baude baude added the No New Tests Allow PR to proceed without adding regression tests label Oct 14, 2024
@baude
Copy link
Member

baude commented Oct 14, 2024

approved not having a test.

@baude
Copy link
Member

baude commented Oct 14, 2024

/approve

Copy link
Contributor

openshift-ci bot commented Oct 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baude, emakrushin

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 14, 2024
@baude
Copy link
Member

baude commented Oct 14, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 3fbae8e into containers:main Oct 14, 2024
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. No New Tests Allow PR to proceed without adding regression tests release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants