path: root/tests/shell/testcases/include/0016maxdepth_0
diff options
authorPhil Sutter <>2019-11-21 11:41:24 +0100
committerPablo Neira Ayuso <>2019-12-02 19:25:22 +0100
commitdd44081d91ceaead0a9730f1ab5c8041a4d905e2 (patch)
treed813dff15e184d52444e192c27195e6d129292ef /tests/shell/testcases/include/0016maxdepth_0
parent7e326d697ecf43ea029de5584e59701eb61ca87e (diff)
segtree: Fix add and delete of element in same batch
The commit this fixes accidentally broke a rather exotic use-case which is but used in set-simple.t of tests/monitor: | # nft 'add element t s { 22-25 }; delete element t s { 22-25 }' Since ranges are now checked for existence in userspace before delete command is submitted to kernel, the second command above was rejected because the range in question wasn't present in cache yet. Fix this by adding new interval set elements to cache after creating the batch job for them. Fixes: decc12ec2dc31 ("segtree: Check ranges when deleting elements") Signed-off-by: Phil Sutter <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests/shell/testcases/include/0016maxdepth_0')
0 files changed, 0 insertions, 0 deletions