git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
13c2604
)
mwan3: add sleep to release ipset reference
author
Florian Eckert
<redacted>
Tue, 8 Mar 2022 10:04:21 +0000
(11:04 +0100)
committer
Florian Eckert
<redacted>
Mon, 14 Mar 2022 08:34:49 +0000
(09:34 +0100)
It turns out that under high system load, ipsets cannot be deleted. This
is because there is still a reference in iptables. A short sleep should
give the system time to clean this up.
Signed-off-by: Florian Eckert <redacted>
net/mwan3/files/etc/init.d/mwan3
patch
|
blob
|
history
diff --git
a/net/mwan3/files/etc/init.d/mwan3
b/net/mwan3/files/etc/init.d/mwan3
index 22d5c2bd3115bb2bca341bc08ad5aa0c685f8366..33a1f46e5371382a07a3bdf35e975e5832f3b21a 100755
(executable)
--- a/
net/mwan3/files/etc/init.d/mwan3
+++ b/
net/mwan3/files/etc/init.d/mwan3
@@
-91,6
+91,8
@@
stop_service() {
} | $IPTR
done
+ # Needed for the firewall backend to release the ipsets reference
+ sleep 2
for ipset in $($IPS -n list | grep mwan3_); do
$IPS -q destroy $ipset
done
git clone https://git.99rst.org/PROJECT