OSDN Git Service

Use new-style UID routing.
authorLorenzo Colitti <lorenzo@google.com>
Tue, 10 Jan 2017 09:48:45 +0000 (18:48 +0900)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 10 Aug 2017 01:48:06 +0000 (09:48 +0800)
commitd3e100d44fa61b6377203bab364bc330471da414
tree7cf07cd7f242c4f7244270d397aaf6a21db0a543
parentfea3956fb7116e451abeab0c17a15145e1697cd0
Use new-style UID routing.

Kernel prebuilts for OC devices have been updated, so the legacy
attributes are not being used. Use the new attributes only. This
will ensure that devices aren't using the old code by mistake, as
any such devices will fail the VPN CTS tests.

(cherry picked from commit 882e467ff7b83de868fa0b9a9beb9036bf14aede)

Cherry-picking this to AOSP now that most external kernels have
been updated as well.

Bug: 16355602
Test: bullhead builds, boots
Test: netd_{unit,integration}_test pass
Test: has been running in internal master for several weeks.
Change-Id: I1c4e8c9281a843417a3a52294a1b7d3e6502bee6
server/RouteController.cpp