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
tree: 8b2990651a7c8575569fc9b9648702220f662fd1
  1. client/
  2. include/
  3. server/
  4. tests/
  5. Android.mk
  6. MODULE_LICENSE_APACHE2
  7. NOTICE