Skip to content

Commit 339706b

Browse files
committed
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]>
1 parent 76adfaf commit 339706b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/netfilter/nft_lookup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ void nft_lookup_eval(const struct nft_expr *expr,
4343
nft_data_copy(&regs->data[priv->dreg],
4444
nft_set_ext_data(ext), set->dlen);
4545

46+
nft_set_elem_update_expr(ext, regs, pkt);
4647
}
4748

4849
static const struct nla_policy nft_lookup_policy[NFTA_LOOKUP_MAX + 1] = {

0 commit comments

Comments
 (0)