commit | f1fe8ee928f10e15a26059070fb8577fa5cc8c34 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Wed Mar 02 15:14:07 2022 +0100 |
committer | Patrick Rohr <prohr@google.com> | Wed Mar 02 20:41:13 2022 +0100 |
tree | 21c6914fadd64e3e4bb26fc0a57688fb704a9b08 | |
parent | 8039c853364b31ae3632fc1a7a504b2f009bc5ae [diff] |
Do not enable ingress rate limit until clsact qdisc exists The tc police filter attaches to the clsact qdisc, so the rate limit cannot be enabled before the qdisc is added to the interface. The clsact qdisc is added as part of INetd#networkAddInterface, which is called from inside updateLinkProperties. Test: atest FrameworksNetTests:ConnectivityServiceTest Change-Id: I0713605ff3684f8271eb3f0e29ab7116561963f1