[libvirt PATCH v2 09/15] nwfilter: clear nrules when resetting virNWFilterInst

Ján Tomko jtomko at redhat.com
Wed Jul 15 15:30:55 UTC 2020

On a Tuesday in 2020, Laine Stump wrote:
>It's possible/probable the callers to virNWFilterInstReset() make it
>unnecessary to set the object's nrules to 0 after freeing all its
>rules, but that same function is setting nfilters to 0, so let's do
>the same for the sake of consistency.
>Signed-off-by: Laine Stump <laine at redhat.com>
> src/nwfilter/nwfilter_gentech_driver.c | 1 +
> 1 file changed, 1 insertion(+)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

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

More information about the libvir-list mailing list