Start the iptables and ip6tables processes in parallel.
This saves ~30ms on boot. There should be no races between the threads that start the and the main thread because pthread_join is documented to synchronize memory with respect to other threads. (cherry picked from commit 4e9ffd6e) Bug: 28362720 Test: bullhead builds, boots Test: netd_{unit,integration}_test pass Change-Id: Iaa8f5ddb04c360970b4bdc5bc1c6f9bea951e527 Merged-In: I2d4c2dc54c68d330855acdb53cd9d8ad0ed328d4
Loading
Please register or sign in to comment