diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-10-17 12:28:27 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-10-18 13:47:32 +0200 |
commit | d111692a59c1470ae530cbb39bcf0346c950ecc7 (patch) | |
tree | db4af3448bb7195be055a3c5a4566fb66e862964 /scripts/gdb/linux/mm.py | |
parent | 2e2d9c7d4d37d74873583d7b0c94eac8b6869486 (diff) |
netfilter: nft_set_rbtree: .deactivate fails if element has expired
This allows to remove an expired element which is not possible in other
existing set backends, this is more noticeable if gc-interval is high so
expired elements remain in the tree. On-demand gc also does not help in
this case, because this is delete element path. Return NULL if element
has expired.
Fixes: 8d8540c4f5e0 ("netfilter: nft_set_rbtree: add timeout support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions