]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: keep track of active filter bindings
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 26 Apr 2018 17:34:33 +0000 (18:34 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 26 Jun 2018 17:17:13 +0000 (18:17 +0100)
commit57f5621f464b8df5671cbe5df6bab3cf006981dd
tree1638c6d3c683e61fdcc0d4c7c70b1fe585d95dc6
parentec7c01832c7680144fd195c1d809e5846ac6456b
nwfilter: keep track of active filter bindings

Currently the nwfilter driver does not keep any record of what filter
bindings it has active. This means that when it needs to recreate
filters, it has to rely on triggering callbacks provided by the virt
drivers. This introduces a hash table recording the virNWFilterBinding
objects so the driver has a record of all active filters.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/virnwfilterobj.h
src/nwfilter/nwfilter_driver.c