[libvirt] [PATCH] bhyve: don't leak tap devices on failures

Roman Bogorodskiy bogorodskiy at gmail.com
Mon Mar 31 13:09:07 UTC 2014


  Michal Privoznik wrote:

> On 30.03.2014 14:53, Roman Bogorodskiy wrote:
> > On failures, virBhyveProcessStart() does not cleanup network
> > interfaces that could be created by virBhyveProcessBuildBhyveCmd(),
> > which results in a leaked tap device.
> >
> > To fix that, extract network cleanup code to bhyveNetCleanup()
> > and use it in cleanup stage of virBhyveProcessStart().
> > ---
> >   src/bhyve/bhyve_process.c | 34 ++++++++++++++++++++++------------
> >   1 file changed, 22 insertions(+), 12 deletions(-)
> 
> ACK and worth pushing prior to the release.

Pushed, thanks!

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140331/df2f2222/attachment-0001.sig>


More information about the libvir-list mailing list