wirelesscrtl: Add --wait to iptables command line.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 12 Dec 2013 20:05:56 +0000 (21:05 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 12 Dec 2013 20:05:56 +0000 (21:05 +0100)
commit7506baa2ebd5a6ceb92596f463f493f45a97661c
tree3270af8b126673e707c89f76fa484ce589852f0d
parent7d5e022df4b37f157f8528cbce892e273f1b4836
wirelesscrtl: Add --wait to iptables command line.

With a huge number of access rules, inserting all rules
into the kernel took a long while in which other iptables
tried to access the kernel's ruleset as well, which then
lead to resource conflicts.

Since iptables 1.4.20, the --wait parameter is supported
that will wait for a global xtables lock and then proceed.
src/misc-progs/wirelessctrl.c