• D
    network: clear cached error if we successfully create firewall chains · c1c235eb
    Daniel P. Berrangé 提交于
    Since:
    
      commit 9f4e35dc
      Author: Daniel P. Berrangé <berrange@redhat.com>
      Date:   Mon Mar 18 17:31:21 2019 +0000
    
        network: improve error report when firewall chain creation fails
    
    We cache an error when failing to create the top level firewall chains.
    This commit failed to account for fact that we may invoke
    networkPreReloadFirewallRules() many times while libvirtd is running.
    For example when firewalld is restarted.
    
    When this happens the original failure may no longer occurr and we'll
    successfully create our top level chains. We failed to clear the cached
    error resulting in us failing to start virtual networks.
    Reviewed-by: NLaine Stump <laine@laine.org>
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    c1c235eb
bridge_driver_linux.c 28.5 KB