[Bug 1382] nftables.py cmd leaking memory when ruleset contains mapping ip length to range with high limit 65535

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Aug 6 11:35:00 CEST 2020


https://bugzilla.netfilter.org/show_bug.cgi?id=1382

--- Comment #4 from Karel Rericha <karel at unitednetworks.cz> ---
I can confirm that after applying Pablo's patch there are no memory leaks with
given example:

Before patch:

Iterations: 10000
Total time:     0.5286474227905273
Iteration time: 5.286474227905273e-05
Total leak:     4874240
Iteration leak: 492.34747474747473

After patch:

Iterations: 10000
Total time:     0.5286917686462402
Iteration time: 5.2869176864624025e-05
Total leak:     0
Iteration leak: 0.0

Thanks a lot Pablo!

I will close this after patch will land in nftables git.

BTW Pablo will you be so kind and look at this bug too:

https://bugzilla.netfilter.org/show_bug.cgi?id=1386

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200806/fcf58dc2/attachment.html>


More information about the netfilter-buglog mailing list