aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <[email protected]>2023-02-28 19:43:02 +0000
committerPablo Neira Ayuso <[email protected]>2023-03-01 16:23:23 +0000
commitaabef97a35160461e9c576848ded737558d89055 (patch)
treef1aa78fbf75b2c8f483009bacb963ba5a19ab3ce /net/unix/af_unix.c
parentnetfilter: nft_last: copy content when cloning expression (diff)
downloadkernel-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