No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maciej Żenczykowski db324dfbca NetBpfLoad: eliminate 'bpfCmdFixupIsNeeded'
It turns out this doesn't work anyway:

Both our Java and C++ higher level map opening logic on 4.14+
kernels will check key/value sizes match, which will fail due to
the kernel uapi mismatch.

(Note: that the fixup was only ever applied/enabled inside of
the NetBpfLoad process itself, not in any later .so/Java/JNI)

This removes the fixup and simply chooses to not even attempt to
load bpf.  This will result in the mainline bpf provided
maps and programs simply not existing.  This would/will cause
a failure of 'bpf_existence_test' - but who cares, so long
as things keep on booting.

We need to transition to libbpf, and clearly making this work
isn't worth the considerable effort it would be, since S ebpf
functionality (ie. tethering offload) hasn't worked on the
affected devices in years.

Test: TreeHugger
Flag: EXEMPT mainline
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic93a5a9d5b3ba8078500e20dfdf00ef68256874c
2025-09-11 13:01:01 -07:00
bpf NetBpfLoad: eliminate 'bpfCmdFixupIsNeeded' 2025-09-11 13:01:01 -07:00
clatd clatd: remove DEVICEPREFIX single use define 2025-08-05 12:15:16 -07:00
common Generalize ip address handling in tether4Value bpf structures 2025-09-04 00:52:31 -07:00
framework Convert uses of @hide to block tag 2025-08-29 21:19:30 +00:00
framework-t Merge "Convert uses of @hide to block tag" into main 2025-09-08 04:21:26 -07:00
nearby Merge "Log CHRE NanoApp ID in hexadecimal format." into main 2025-09-09 11:34:50 -07:00
networksecurity Prevent duplicate downloads in DownloadHelper 2025-08-29 01:02:47 -07:00
remoteauth Convert uses of @hide to block tag 2025-08-29 21:19:30 +00:00
service Fix VPN bypass by updating VPN filter 2025-09-11 11:50:05 +09:00
service-b Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
service-t Merge "Add util method to convert StaticIpConfiguration from proto" into main 2025-09-09 20:20:50 -07:00
staticlibs Make AddrRegReplyPacket constructor public 2025-09-09 10:56:01 -07:00
tests Merge "Fix VPN bypass by updating VPN filter" into main 2025-09-10 21:18:30 -07:00
Tethering HACK: fix/disable a broken test. 2025-09-11 11:20:17 -07:00
thread Convert uses of @hide to block tag 2025-08-29 21:19:30 +00:00
tools Add a tool to generate hidden module API lists 2025-04-24 09:05:08 +09:00
Vcn Log VCN network connected and disconnected events. 2025-09-09 18:51:33 +00:00
.clang-format Add .clang-format 2025-03-23 19:59:10 -07:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking OWNERS: satk -> larsberg 2025-08-04 11:26:01 -07:00
OWNERS_core_networking_xts OWNERS: satk -> larsberg 2025-08-04 11:26:02 -07:00
PREUPLOAD.cfg Revert "Add alint hook to Connectivity repo" 2025-08-27 03:31:04 -07:00
preupload_hook_script.py Refactor: apply pyformat for coding style consistency 2025-05-28 12:44:57 +00:00
rustfmt.toml Add rustfmt to p/m/C 2025-03-28 10:06:13 -07:00
TEST_MAPPING Remove non-existent CtsNativeNetTestCases from TEST_MAPPING. 2025-08-20 19:31:29 -07:00