DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [DPDK/other Bug 2107] pdump: BPF filter leaked on error in set_pdump_rxtx_cbs()
@ 2026-11-12 17:35 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2026-11-12 17:35 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=2107

            Bug ID: 2107
           Summary: pdump: BPF filter leaked on error in
                    set_pdump_rxtx_cbs()
           Product: DPDK
           Version: 26.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Low
         Component: other
          Assignee: dev@dpdk.org
          Reporter: stephen@networkplumber.org
  Target Milestone: ---

lib/pdump/rte_pdump.c:403 loads filter = rte_bpf_load(p->prm). The later error
returns (invalid device name, port/queue checks, around :422-:453) return
without rte_bpf_destroy(filter). A request with a filter and an invalid port
leaks the program each time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-12 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 17:35 [DPDK/other Bug 2107] pdump: BPF filter leaked on error in set_pdump_rxtx_cbs() bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox