Commit 339706bc authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso

netfilter: nft_lookup: update element stateful expression

If the set element comes with an stateful expression, update it.
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 76adfafe
......@@ -43,6 +43,7 @@ void nft_lookup_eval(const struct nft_expr *expr,
nft_data_copy(&regs->data[priv->dreg],
nft_set_ext_data(ext), set->dlen);
nft_set_elem_update_expr(ext, regs, pkt);
}
static const struct nla_policy nft_lookup_policy[NFTA_LOOKUP_MAX + 1] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment