commit | 6c1f6fd78927514df73ddace81edac4899c4cda4 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Mon Sep 11 15:21:10 2017 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Tue Sep 12 10:18:58 2017 +0100 |
tree | f0245be010696e59330574fe762e99142c978301 | |
parent | a90205492ff2eb1b20dfdc9fb114efdd78d387d1 [diff] |
Patch incoming LinkProperties before it's visible to the outside Otherwise we risk a race condition when we are fixing the LinkProperties routes, other parts of ConnectivityService is reading the field at the same time. Test: runtest frameworks-net -c com.android.server.ConnectivityServiceTest Test: runtest frameworks-core -c android.net.LinkPropertiesTest Bug: 65529483 Bug: 35995111 Change-Id: I539578703570a901e0a5dff0155422ca78c52401