[libvirt] [PATCH v2] nwfilter: Fix double free of pointer

Stefan Berger stefanb at us.ibm.com
Wed Mar 19 17:41:52 UTC 2014


"Daniel P. Berrange" <berrange at redhat.com> wrote on 03/19/2014 01:24:52 
PM:

> 
> On Wed, Mar 19, 2014 at 11:47:09AM -0400, Stefan Berger wrote:
> > From: Stefan Berger <stefanb at linux.vnet.ibm.com>
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=1071181
> > 
> > Commit 49b59a15 fixed one problem but masks another one related to 
pointer
> > freeing.
> > 
> > Avoid putting of the virNWFilterSnoopReq once the thread has been 
started.
> > It belongs to the thread and the thread will call 
> virNWFilterSnoopReqPut() on it.
> > 
> > Signed-off-by: Stefan Berger <stefanb at linux.vnet.ibm.com>
> > ---
> >  src/nwfilter/nwfilter_dhcpsnoop.c | 6 +++++-
> >  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> ACK

Pushed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140319/9eae0246/attachment-0001.htm>


More information about the libvir-list mailing list