pdump: BPF filter leaked on error in set_pdump_rxtx_cbs()
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: [email protected]
Reporter: [email protected]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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.