<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - nftables.py cmd leaking memory when ruleset contains mapping ip length to range with high limit 65535"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1382">bug 1382</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - nftables.py cmd leaking memory when ruleset contains mapping ip length to range with high limit 65535"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1382#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - nftables.py cmd leaking memory when ruleset contains mapping ip length to range with high limit 65535"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1382">bug 1382</a>
              from <span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span></b>
        <pre>Testing:

add table ip table1
add set ip table1 set1 { type ipv4_addr; }
add chain ip table1 chain1 { type filter hook forward priority 0; }
add counter ip table1 counter1
add rule ip table1 chain1 counter name ip length map { 0-65535: "counter1" }

Then:

nft list ruleset

shows no memleaks after this patch:

<a href="https://patchwork.ozlabs.org/project/netfilter-devel/patch/20200805093312.26212-1-pablo@netfilter.org/">https://patchwork.ozlabs.org/project/netfilter-devel/patch/20200805093312.26212-1-pablo@netfilter.org/</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>