mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
netfilter: nft_last: copy content when cloning expression
[ Upstream commit860e874290] If the ruleset contains last timestamps, restore them accordingly. Otherwise, listing after restoration shows never used items. Fixes:33a24de37e("netfilter: nft_last: move stateful fields out of expression data") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
cf117637d3
commit
4f84eb52bf
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue