]> git.ipfire.org Git - thirdparty/nftables.git/commit
intervals: add elements with EXPR_F_KERNEL to purge list only
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 14 Apr 2022 16:16:31 +0000 (18:16 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Apr 2022 13:03:28 +0000 (15:03 +0200)
commit3b7b22aed894fa1a8495d654d215a335051f6bf1
treee8b3e72b4010039323aa1444df853fd21ce97994
parentea31855d73b75445ab4df51eaf75ad0b21f5c506
intervals: add elements with EXPR_F_KERNEL to purge list only

Do not add elements to purge list which are not in the kernel,
otherwise, bogus ENOENT is reported.

Fixes: 3e8d934e4f722 ("intervals: support to partial deletion with automerge")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/intervals.c