[connman] Fix firewall failsafe. Empty config is not error. Fixes JB#45308
This commit fixes the firewall failsafe operation. The hash tables containing entries retrieved from iptables should not be freed within the same session where iptables is used. This seems to create more problems it helps to solve. In some cases the pointers to free'd content is returned by iptables when failsafe has triggered causing non-continuous entrytables with invalid offsets. Also, do not treat empty or missing firewall config as error triggering firewall failsafe. No config = no changes.
Showing with 1 addition and 3 deletions