diff options
| author | Maciej Żenczykowski <maze@google.com> | 2022-04-28 02:02:45 -0700 |
|---|---|---|
| committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | 2022-05-08 15:05:37 +0000 |
| commit | f95f98b125a3a6e45f097c37f1dea2d40352e50d (patch) | |
| tree | 6a8d9f908fd960c543c844c0d2006dbee99f900b /tests/unit/java/android/net/NetworkStatsCollectionTest.java | |
| parent | 9f8b90f79632f47f2948c1c3dc9dddf68d1aa862 (diff) | |
funky workaround to make things load on 4.14 bpf verifier
Mostly this is cut-and-paste of bottom half of do_forward4
function into a seperate function to force the compiler to
emit two differently optimized versions of the code based on
whether is_tcp is true or false.
Bug: 230359047
Test: TreeHugger, manually on flame
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I9e3e195ba601daaac2e0c9a70fad170a8fb4d921
(cherry picked from commit f72c8aa5c3f1c30c3329b6540f03f06cfa1b383d)
Merged-In: I9e3e195ba601daaac2e0c9a70fad170a8fb4d921
Diffstat (limited to 'tests/unit/java/android/net/NetworkStatsCollectionTest.java')
0 files changed, 0 insertions, 0 deletions
