mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
netfilter: nft_lookup: update element stateful expression
If the set element comes with an stateful expression, update it. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
76adfafeca
commit
339706bc21
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ void nft_lookup_eval(const struct nft_expr *expr,
|
|||
nft_data_copy(®s->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] = {
|
||||
|
|
Loading…
Reference in a new issue