[libvirt] [PATCH v2] nwfilter: Tear down temp. filters when tearing all filters

Stefan Berger stefanb at us.ibm.com
Wed Apr 30 16:54:40 UTC 2014


"Daniel P. Berrange" <berrange at redhat.com> wrote on 04/30/2014 12:41:30 
PM:

> From: "Daniel P. Berrange" <berrange at redhat.com>
> To: Stefan Berger/Watson/IBM at IBMUS, 
> Cc: libvirt-list at redhat.com, Stefan Berger <stefanb at linux.vnet.ibm.com>
> Date: 04/30/2014 12:41 PM
> Subject: Re: [PATCH v2] nwfilter: Tear down temp. filters when 
> tearing all filters
> 
> On Wed, Apr 30, 2014 at 12:30:01PM -0400, Stefan Berger wrote:
> > From: Stefan Berger <stefanb at linux.vnet.ibm.com>
> > 
> > Refactor the ebiptablesTearNewRules function so that the teardown 
> of temporary
> > filters can also be called by the ebiptablesAllTeardown function.
> > 
> > This fixes a problem that leaves temporary filters behind when a 
> VM shuts down
> > while its filters are modified.
> > 
> > Signed-off-by: Stefan Berger <stefanb at linux.vnet.ibm.com>
> > 
> > v1->v2:
> >   - test cases adjusted to expect more commands
> > ---
> >  src/nwfilter/nwfilter_ebiptables_driver.c | 24 ++++++++----
> >  tests/nwfilterebiptablestest.c            | 64 ++++++++++++++++
> +--------------
> >  2 files changed, 52 insertions(+), 36 deletions(-)
> 
> ACK

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


More information about the libvir-list mailing list