[Bug 1479] New: seqnum_to_json() is slow

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Nov 5 16:02:38 CET 2020


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

            Bug ID: 1479
           Summary: seqnum_to_json() is slow
           Product: nftables
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: daiderek at gmail.com

Created attachment 612
  --> https://bugzilla.netfilter.org/attachment.cgi?id=612&action=edit
solve performance issue of seqnum_to_json() by look up table

If there are a lot of command in JSON node, seqnum_to_json() will slow down
application (eg: firewalld) dramatically since it iterate whole command list
every time.

A simple look up table can solve this issue.

-- 
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/20201105/29f6e592/attachment.html>


More information about the netfilter-buglog mailing list