summaryrefslogtreecommitdiff
path: root/common/networkstackclient/aidl/networkstack
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2019-09-26 00:18:25 +0900
committerLorenzo Colitti <lorenzo@google.com>2019-11-06 14:42:52 +0900
commit7d5191f51514cd679c95b1586a6b9359002ccd03 (patch)
treea7c42be3e153487bdb92d8f9a653883a477f8252 /common/networkstackclient/aidl/networkstack
parentdfc4f7c2547eeb26be2e7b2f63318933eec1fb75 (diff)
Support dropping RDNSS options with a low lifetime.
Some routers have been known to use RDNSS lifetimes of 10 seconds(!). This causes APF filters to be set to very low lifetimes, which substantially impacts battery life. There are two parts to this: 1. Ignore low RDNSS option lifetimes for the purpose of calculating APF filter lifetimes. 2. Do not add DNS servers to the repository if their lifetimes are too low. If we do #1 without #2, the servers will expire because APF will drop the RAs that refresh them, potentially causing outages or disconnections. The behaviour is enabled by default starting from R and can be enabled on all builds using a flag. Bug: 66928272 Test: New unit test passes Change-Id: Ib2e2555026da3e81ea3d50767a30092413b4e4f5
Diffstat (limited to 'common/networkstackclient/aidl/networkstack')
0 files changed, 0 insertions, 0 deletions