Skip to content

fix(kill): close netns FD to prevent leak and lock OS thread#495

Open
AyushSriv06 wants to merge 1 commit intourunc-dev:mainfrom
AyushSriv06:fix/kill-netns
Open

fix(kill): close netns FD to prevent leak and lock OS thread#495
AyushSriv06 wants to merge 1 commit intourunc-dev:mainfrom
AyushSriv06:fix/kill-netns

Conversation

@AyushSriv06
Copy link
Contributor

Description

Adds a missing close call to prevent leaking file descriptors when joining network namespaces.
Enforces thread locking in Kill() to ensure network operations execute safely on the correct OS thread.

Related issues

N/A

How was this tested?

buid and lint

LLM usage

N/A

Checklist

  • I have read the contribution guide.
  • The linter passes locally (make lint).
  • The e2e tests of at least one tool pass locally (make test_ctr, make test_nerdctl, make test_docker, make test_crictl).
  • If LLMs were used: I have read the llm policy.

Signed-off-by: Ayush <ayushsrisks@gmail.com>
@netlify
Copy link

netlify bot commented Feb 18, 2026

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 504670b
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/699603d07074f10008203f85

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.

1 participant

Comments