mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-08 10:31:43 +01: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 <[email protected]>
This commit is contained in:
1 parent
76adfafeca
commit
339706bc21
1 file changed
+1
@@ -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] = {
|
||||
|
||||
Reference in new issue
Block a user