commit | f72c8aa5c3f1c30c3329b6540f03f06cfa1b383d | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Thu Apr 28 02:02:45 2022 -0700 |
committer | Maciej Żenczykowski <maze@google.com> | Thu May 05 09:46:33 2022 +0000 |
tree | 969041624563a9d016ca484abacc2fbe11b8a0c5 | |
parent | 0736d7bd91f333bd9a78d6105bd2e65638521dd1 [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