forked from Minki/linux
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
@ -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 New Issue
Block a user