mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 17:44:33 +08: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
@ -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