summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/0041interval_0
Commit message (Collapse)AuthorAgeFilesLines
* segtree: don't remove nul-root element from interval setPablo Neira Ayuso2019-12-091-0/+25
Check from the delinearize set element path if the nul-root element already exists in the interval set. Hence, the element insertion path skips the implicit nul-root interval insertion. Under some circunstances, nft bogusly fails to delete the last element of the interval set and to create an element in an existing empty internal set. This patch includes a test that reproduces the issue. Fixes: 4935a0d561b5 ("segtree: special handling for the first non-matching segment") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>