commit | 95892f35e7aad3502ccb57d5243d7b34a398d209 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Thu Jun 07 14:52:02 2018 -0700 |
committer | Chenbo Feng <fengc@google.com> | Thu Jun 21 15:31:43 2018 -0700 |
tree | 81b5e2b053c036de6f427eb7adc2c978ea6ae205 | |
parent | 486462f07d5a44bcb04685c5919e15c07be943e0 [diff] |
Use xt_bpf programs to do bandwidth control To completely move away from xt_qtaguid module, the bandwidth controller should not using it for uid owner match any more. Instead, it can use a eBPF map to store the uid need to be matched and use two eBPF program running on the xt_bpf hooks to filter out the packet. Bug: 80649292 Test: ./netd_unit_test Change-Id: I8e9c7cb3371aae0c24ccc6f64e05e6cbd4f78aae