]> git.ipfire.org Git - thirdparty/nftables.git/commit
intervals: check for EXPR_F_REMOVE in case of element mismatch
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Jun 2022 16:41:21 +0000 (18:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Jun 2022 18:08:18 +0000 (20:08 +0200)
commit6d1ee9267e7e5e429a84d7bb8a8644f9eebddb22
tree93c0385dacb4718c5067e5859499022a0f160955
parent5357cb7b5cb93fc9b20d4d95b093d6b9f86b7727
intervals: check for EXPR_F_REMOVE in case of element mismatch

If auto-merge is disable and element to be deleted finds no exact
matching, then bail out.

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