<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 - Possible a bug in n libnftables deserializer. [invalid type]"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1405">1405</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Possible a bug in n libnftables deserializer. [invalid type]
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libnftnl
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>libnftnl
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sbezverk@cisco.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When I add update rule for a map, nft command does not fail but shows [invalid
type]

table ip kube-nfproxy-v4 {
    map sticky-set-svc-M53CN2XYVUHRQ7UB {
        type ipv4_addr : integer
        size 65535
        timeout 6m
    }

    chain k8s-nfproxy-sep-TMVEFT7EX55F4T62 {
        update @sticky-set-svc-M53CN2XYVUHRQ7UB { ip saddr : 0x2 [invalid type]
}
    }
}

Here is the command I use to add update rule:
sudo nft add rule kube-nfproxy-v4 k8s-nfproxy-sep-TMVEFT7EX55F4T62 update
@sticky-set-svc-M53CN2XYVUHRQ7UB { ip saddr timeout 30s : 2 }

I tried to use Mark instead of integer for Key/Value of the set, same result
with invalid value.

I am running Ubuntu 19.10, with kernel: 5.4.15-050415-generic

nft --version
nftables v0.9.3 (Topsy)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>