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_quota: copy content when cloning expression
[ Upstream commitaabef97a35] If the ruleset contains consumed quota, restore them accordingly. Otherwise, listing after restoration shows never used items. Restore the user-defined quota and flags too. Fixes:ed0a0c60f0("netfilter: nft_quota: 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
4f84eb52bf
commit
944415858d
1 changed files with 5 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue