diff options
| author | Pablo Neira Ayuso <[email protected]> | 2023-02-28 19:43:02 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2023-03-01 16:23:23 +0000 |
| commit | aabef97a35160461e9c576848ded737558d89055 (patch) | |
| tree | f1aa78fbf75b2c8f483009bacb963ba5a19ab3ce /net/unix/af_unix.c | |
| parent | netfilter: nft_last: copy content when cloning expression (diff) | |
| download | kernel-aabef97a35160461e9c576848ded737558d89055.tar.gz kernel-aabef97a35160461e9c576848ded737558d89055.zip | |
netfilter: nft_quota: copy content when cloning expression
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: ed0a0c60f0e5 ("netfilter: nft_quota: move stateful fields out of expression data")
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
