summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0030variable_reuse_0
Commit message (Collapse)AuthorAgeFilesLines
* evaluate: clone variable expression if there is more than one referencePablo Neira Ayuso2021-11-081-0/+19
Clone the expression that defines the variable value if there are multiple references to it in the ruleset. This saves heap memory consumption in case the variable defines a set with a huge number of elements. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>