Revision 1395179baa05993a8224f2a84e24af2daeb40810 authored by Ryan Drew on 07 March 2024, 20:24:29 UTC, committed by André Martins on 17 June 2024, 07:39:56 UTC
The function tunnel.SetTunnelMap is used in go tests to manually set the
tunnel map, however this function relies on the caller to clean up the
map when it is no longer needed. This commit modifies this function to
try and unpin any existing tunnel map before setting a new one, in order
to address cases where a leftover map may still be pinned.

See https://github.com/cilium/cilium/actions/runs/8193113970/job/22406307012
for an example flake that may be related to this issue.

Signed-off-by: Ryan Drew <ryan.drew@isovalent.com>
1 parent 0c54e45
Raw File
SECURITY-INSIGHTS.yml
header:
  schema-version: '1.0.0'
  expiration-date: '2025-01-26T01:00:00.000Z'
  last-updated: '2024-01-26'
  last-reviewed: '2024-01-26'
  project-url: https://github.com/cilium/cilium
  license: https://github.com/cilium/cilium/blob/main/LICENSE
project-lifecycle:
  status: active
  bug-fixes-only: false
  core-maintainers:
    - https://github.com/cilium/cilium/blob/main/MAINTAINERS.md
  roadmap: https://docs.cilium.io/en/stable/community/roadmap
contribution-policy:
  accepts-pull-requests: true
  accepts-automated-pull-requests: true
dependencies:
  third-party-packages: true
  dependencies-lists:
    - https://github.com/cilium/cilium/blob/main/go.mod
  sbom:
    - sbom-format: SPDX
      sbom-url: https://docs.cilium.io/en/stable/configuration/sbom
distribution-points:
  - https://github.com/cilium/cilium
  - https://hub.docker.com/u/cilium
  - https://quay.io/organization/cilium
documentation:
  - https://docs.cilium.io/en/stable/
security-assessments:
  - auditor-name: ADA Logics
    auditor-url: https://adalogics.com
    auditor-report: https://github.com/cilium/cilium.io/blob/main/Security-Reports/CiliumSecurityAudit2022.pdf
    report-year: 2022
  - auditor-name: ADA Logics
    auditor-url: https://adalogics.com
    auditor-report: https://github.com/cilium/cilium.io/blob/main/Security-Reports/CiliumFuzzingAudit2022.pdf
    report-year: 2022
security-contacts:
  - type: email
    value: security@cilium.io
security-testing:
- tool-type: sca
  tool-name: Mend Renovate
  tool-url: https://www.mend.io/renovate
  tool-version: latest
  integration:
    ad-hoc: false
    ci: true
    before-release: true
- tool-type: fuzzer
  tool-name: OSS-Fuzz
  tool-url: https://github.com/google/oss-fuzz
  tool-version: latest
  integration:
    ad-hoc: false
    ci: true
    before-release: true
- tool-type: sast
  tool-name: Grype
  tool-url: https://github.com/anchore/grype
  tool-version: latest
  integration:
    ad-hoc: false
    ci: true
    before-release: true
vulnerability-reporting:
  accepts-vulnerability-reports: true
  security-policy: https://github.com/cilium/cilium/security
back to top