summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/rule_management/0010replace_0
Commit message (Collapse)AuthorAgeFilesLines
* tests: add test case for rule replacement expression deactivationFlorian Westphal2018-11-281-0/+12
When a rule is replaced, all of the expressions that are in use need to be deactivated. Kernel missed to do this on replace. In this example, this would result in a leak of the chain use counter ("jump" expression deactivation is not called). This then either resulted in a BUG or WARN, depending on kernel version. Signed-off-by: Florian Westphal <fw@strlen.de>