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

netns: Fix socket leak #17051

Merged
merged 2 commits into from
Aug 19, 2021
Merged

netns: Fix socket leak #17051

merged 2 commits into from
Aug 19, 2021

Commits on Aug 13, 2021

  1. netns: Fix socket leak

    Close the socket if it has been successfully created.
    
    Fixes: 0a4a393 ("bpf: Derive host netns cookie via SO_NETNS_COOKIE")
    Reported-by: Daniel Borkmann <daniel@iogearbox.net>
    Signed-off-by: Martynas Pumputis <m@lambda.lt>
    brb committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    09e408a View commit details
    Browse the repository at this point in the history
  2. netns: Add copyright for cookie.go

    Fixes: 0a4a393 ("bpf: Derive host netns cookie via SO_NETNS_COOKIE")
    Reported-by: André Martins <andre@cilium.io>
    Signed-off-by: Martynas Pumputis <m@lambda.lt>
    brb committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    50c8b85 View commit details
    Browse the repository at this point in the history