libvirt/src/nwfilter
Cole Robinson ab05abdbc3 nwfilter: Fix potential locking problems on ObjLoad failure
In virNWFilterObjLoad we can still fail after virNWFilterObjAssignDef,
but we don't unlock and free the created virNWFilterObjPtr in the
cleanup path.

The bit we are trying to do after AssignDef is just STRDUP in the
configFile path. However caching the configFile in the NWFilterObj
is largely redundant and doesn't follow the same pattern we use
for domain and network objects.

So just remove all the configFile caching which fixes the latent
bug as a side effect.
2016-05-02 10:06:04 -04:00
..
nwfilter_dhcpsnoop.c util: Add virSocketAddrSetIPv[46]AddrNetOrder and use it 2016-03-21 11:28:33 +01:00
nwfilter_dhcpsnoop.h Remove virDomainNetType parameter from nwfilter drivers 2014-04-25 15:44:09 +01:00
nwfilter_driver.c nwfilter: Fix potential locking problems on ObjLoad failure 2016-05-02 10:06:04 -04:00
nwfilter_driver.h
nwfilter_ebiptables_driver.c nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
nwfilter_ebiptables_driver.h Convert nwfilter ebiptablesApplyNewRules to virFirewall 2014-04-25 15:44:10 +01:00
nwfilter_gentech_driver.c util: Add a return value to void hash iterators 2016-02-17 12:46:34 +01:00
nwfilter_gentech_driver.h Remove virDomainNetType parameter from nwfilter drivers 2014-04-25 15:44:09 +01:00
nwfilter_learnipaddr.c Remove new lines from log messages 2015-11-04 13:09:35 +01:00
nwfilter_learnipaddr.h Force usage of virThreadCreate 2015-03-25 10:00:53 +01:00
nwfilter_tech_driver.h Merge nwfilter createRuleInstance driver into applyNewRules 2014-04-25 15:44:09 +01:00