]> xenbits.xensource.com Git - libvirt.git/commit
network: pull global chain init into separate method
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 21 May 2019 10:37:37 +0000 (11:37 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 23 May 2019 15:28:12 +0000 (16:28 +0100)
commit4330d13852d0d49cb14d67c606ecf5255ee00220
treeee09e71cc3614efd14581d0fce9062dabab9a2a7
parent435330d084bafae75facd3af31b723bb52f4daad
network: pull global chain init into separate method

Pull the logic for creating global iptables chains into a separate
method and protect its invocation with virOnce, to make it possible
to reuse it in non-startup paths.

Reviewed-by: Jim Fehlig <jfehlig@suse.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/network/bridge_driver_linux.c