android_packages_modules_Co.../bpf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr 03b974321b Fix memory leak in NetBpfLoad
The lambda was capturing btf by value instead of reference. This meant
that btf__free was never called, because at the time of capture btf was
null.

This changes the lambda to capture btf by reference instead of by value.

Test: TH
Flag: EXEMPT mainline
Bug: 411323352
Change-Id: I6c6637b10f16d48f9ae5b702e44883046b46e252
2025-04-17 08:38:01 -07:00
..
dns_helper mdnsd_netbpfload: reduce spam on failure 2025-04-08 12:45:49 -07:00
headers Add macro to declare a sk storage and related accessor functions 2025-03-26 09:25:33 +09:00
loader Fix memory leak in NetBpfLoad 2025-04-17 08:38:01 -07:00
netd mdnsd_netbpfload: reduce spam on failure 2025-04-08 12:45:49 -07:00
progs Revert "bpf: Filter localhost packages if sent/received by sdksandbox process" 2025-04-09 09:57:36 -07:00
syscall_wrappers BpfSyscallWrapper: add bpfGetFd{Jit,Xlat}ProgLen 2025-02-14 11:12:31 -08:00
tests/mts bpf: switch to mainline netbpfload on Android S/SV2 2025-03-05 14:27:59 -08:00