Re: [libvirt] [PATCH] nwfilter: don't crash listing filters in unprivileged daemon

2017-12-06 Thread Peter Krempa
On Tue, Dec 05, 2017 at 16:48:36 -0500, John Ferlan wrote: > > > On 12/05/2017 11:41 AM, Daniel P. Berrange wrote: > > 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

Re: [libvirt] [PATCH] nwfilter: don't crash listing filters in unprivileged daemon

2017-12-05 Thread John Ferlan
On 12/05/2017 11:41 AM, Daniel P. Berrange wrote: > 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

[libvirt] [PATCH] nwfilter: don't crash listing filters in unprivileged daemon

2017-12-05 Thread Daniel P. Berrange
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