diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2017-02-03 14:08:37 +0900 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2017-02-10 11:40:27 +0900 |
| commit | 4fcb4a0d90be5e00b16b558089bd69d3c414d382 (patch) | |
| tree | 5e887c05fb747e00a7407ebef056791c64c0fc32 /server/InterfaceController.cpp | |
| parent | cda022e61c37cc6e6bd863c5a6525108e3789ca8 (diff) | |
Move NatController startup to iptables-restore.
This makes NatController startup much faster. Before:
02-03 14:09:19.199 485 485 I Netd : Setting up NatController hooks: 223.4ms
After:
02-03 14:28:09.407 488 488 I Netd : Setting up NatController hooks: 13.8ms
Also, fail if MSS rewriting is not supported. It's much easier
to diagnose a failure than a performance problem.
Test: unit tests continue to pass
Test: bullhead builds, boots, wifi tethering works
Fix: 17629786
Bug: 34873832
Change-Id: I0ef498ecbbb82a2672c279056d189d026e13100a
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions
