<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cannot use named set for matching IPv4 networks"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1327">1327</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot use named set for matching IPv4 networks
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Debian GNU/Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>nft
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>email@cs-ware.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I've the following (for this bug report reduced) ruleset in nftables:
table inet filter {
        set blocklistssh4 {
                type ipv4_addr
        }

        chain blocklistssh {
        }
}

Now, issuing "add rule inet filter blocklistssh ip saddr & 255.0.0.0
@blocklistssh4 drop" causes "nft -f file" to segfault. Issuing this statement
in "nft -i" reveals the following message and terminates:
BUG: invalid binop operation 6nft: evaluate.c:1515: binop_transfer_handle_lhs:
Assertion `0' failed.
Aborted

However, "add rule inet filter blocklistssh ip saddr & 255.0.0.0 {
192.168.178.0, 192.168.179.0 } drop" works.

# nft -v
nftables v0.9.0 (Fearless Fosdick)

# cat /proc/version
Linux version 4.9.0-8-amd64 (<a href="mailto:debian-kernel@lists.debian.org">debian-kernel@lists.debian.org</a>) (gcc version 6.3.0
20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.144-3 (2019-02-02)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>