summaryrefslogtreecommitdiff
path: root/server/InterfaceController.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2017-02-10 10:02:49 +0900
committerLorenzo Colitti <lorenzo@google.com>2017-02-14 17:32:34 +0900
commit219f328b7c2f99ef27f89206bdbf1260fa7ad2e4 (patch)
tree1b9705c3958736cda50f35810eb3e9d570649c67 /server/InterfaceController.cpp
parent0b733e4407db9d198b75743727c5827daa65490e (diff)
Use netlink code to flush rules.
This removes two calls to /sbin/ip on netd startup, which saves about 70ms. In the future we will be able to use this to flush routes as well, which will provide similar time savings on every network destroy operation. Bug: 34873832 Test: bullhead builds, boots Test: rules flushed correctly when netd is killed Change-Id: I4875ac7fec1a92dc5fa2cb68f8fab2a903348c20
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions