commit | de7b97573ac92be4cff6ca71a1837b2fe0dcbbab | [log] [tgz] |
---|---|---|
author | Motomu Utsumi <motomuman@google.com> | Wed Jul 31 18:49:49 2024 +0900 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Nov 06 23:38:28 2024 +0000 |
tree | 998b610dff9436022781a014620349f6954835b4 | |
parent | 9eb0da27c4ecff37f7b6d2328b8dee6ba766ad1a [diff] |
Add methods for updating ingressDiscardRule bpf map to BpfNetMaps Cherry-pick of aosp/2795710 to backport VPN security fix to non-mainline U devices with minor conflicts resolution. Since U branches use module prebuilt and new tests in BpfNetMapsTest.java relies on InetAddressUtils change in this topic, this CL does not add tests for setIngressDiscardRule and removeIngressDiscardRule. Bug: 193031925 Test: NetworkStaticLibsTests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b01647922d2b393fd705bf7fd68fbe10ccdffdc4) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:63e35f76ce93bc4d4ecfe7802f6fba84cb99d0f0) Merged-In: Ie7057eb0273023767489ea72ea1faf9598724ef9 Change-Id: Ie7057eb0273023767489ea72ea1faf9598724ef9