Re: [libvirt] [PATCH 4/6] Fix exiting of libvirt_lxc program on container quit

2012-11-23 Thread Martin Kletzander
On 11/22/2012 05:48 PM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > The virLXCControllerClientCloseHook method was mistakenly > assuming that the private data associated with the network > client was the virLXCControllerPtr. In fact it was just a > dummy int, so we were derefencing

[libvirt] [PATCH 4/6] Fix exiting of libvirt_lxc program on container quit

2012-11-22 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The virLXCControllerClientCloseHook method was mistakenly assuming that the private data associated with the network client was the virLXCControllerPtr. In fact it was just a dummy int, so we were derefencing a bogus struct. The frequent result of this was that we would