netd: use -W option for iptable commands
If netd fails to acquire xtables lock, netd will wait for a
default retry time of 1 sec to retry and get the lock.
Use -W option for iptables with retry interval of 10000 micro
seconds (=10 ms) in netd to decrease iptable execution time
incase of failure to acquire xtables lock.
In ideal case scenario an iptables command takes about
10-20 ms to execute. So, the retry interval is chosen as 10 ms.
CRs-fixed: 1080720
Change-Id: I845481931284d89d9239669917b5cabfe79ba940
6 files changed