libvirt/src/nwfilter
Daniel P. Berrange 7993554f70 nwfilter: don't crash listing filters in unprivileged daemon
The unprivileged libvirtd does not support nwfilter config, by leaves the
driver active. It is supposed to result in all APIs being an effective
no-op, but several APIs rely on driver->nwfilters being non-NULL, or they
will reference a NULL pointer. Rather than adding checks for NULL in many
places, just make sure  driver->nwfilters is always initialized.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2017-12-06 09:37:25 +00:00
..
nwfilter_dhcpsnoop.c nwfilter: Don't have virNWFilterIPAddrMapAddIPAddr consume input 2017-10-02 06:14:32 -04:00
nwfilter_dhcpsnoop.h Remove virDomainNetType parameter from nwfilter drivers 2014-04-25 15:44:09 +01:00
nwfilter_driver.c nwfilter: don't crash listing filters in unprivileged daemon 2017-12-06 09:37:25 +00:00
nwfilter_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_ebiptables_driver.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nwfilter_ebiptables_driver.h Convert nwfilter ebiptablesApplyNewRules to virFirewall 2014-04-25 15:44:10 +01:00
nwfilter_gentech_driver.c nwfilter: Fix memory leak and error path 2017-10-04 06:22:02 -04:00
nwfilter_gentech_driver.h conf: Introduce virnwfilterobj 2017-03-07 13:27:25 -05:00
nwfilter_learnipaddr.c nwfilter: Fix memory leak in learnIPAddressThread 2017-09-27 07:31:08 -04:00
nwfilter_learnipaddr.h Force usage of virThreadCreate 2015-03-25 10:00:53 +01:00
nwfilter_tech_driver.h conf: Introduce virnwfilterobj 2017-03-07 13:27:25 -05:00