summaryrefslogtreecommitdiff
path: root/server/InterfaceController.cpp
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2019-04-10 12:26:06 -0700
committerChenbo Feng <fengc@google.com>2019-04-12 12:16:36 -0700
commit873ae1491d9ea8a6084ffe6816658cc4c27e22b1 (patch)
treeca8dc79573c381ba16717f7855267bde3868dc71 /server/InterfaceController.cpp
parent5ca8e80c573b4bc6845d3ea10adc05806c4dec3f (diff)
Let netd decide when to swap stats map
To protect stats map from overflow, netd need to know how many stats entries exist in the current live stats map when tagging the socket. To prevent racing against framework stats reading actions during tagging sockets, let netd handle the map swap action instead. Bug: 111441138 Test: android.app.usage.cts.NetworkUsageStatsTest android.net.cts.TrafficStatsTest Change-Id: I1b63e50a67be07472dba32744c8598c1788d0b75
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions