OSDN Git Service

BandwidthController: fix bad flushing for bw_costly_* tables.
authorJP Abgrall <jpa@google.com>
Mon, 26 Aug 2013 22:13:10 +0000 (15:13 -0700)
committerJP Abgrall <jpa@google.com>
Mon, 26 Aug 2013 22:13:10 +0000 (15:13 -0700)
commit0e540ec038dfdbcf5cba3d5b9b2765e1dcec062b
tree4990448c716b915ca578e0b1db51dedc2d676555
parent9b3cd7635caf5948d7d4b11f8f588c9d2811d58e
BandwidthController: fix bad flushing for bw_costly_* tables.

Some of the bw_costly_<iface> rules would not get correctly flushed and
cleared on netd re-start, which would cause a failure when trying to
setup the bw_penalty_box as bw_costly_<iface> would reference it.
The resulting symptom would be that bandwidth could not be re-enabled.

Bug: 10183445
Change-Id: I79a8a73ae52e18b3bff8a58e47ac1aea2454ae63
BandwidthController.cpp
BandwidthController.h