]> git.ipfire.org Git - thirdparty/nftables.git/commit
mergesort: avoid cloning value in expr_msort_cmp()
authorThomas Haller <thaller@redhat.com>
Wed, 27 Sep 2023 09:20:24 +0000 (11:20 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Sep 2025 20:47:56 +0000 (22:47 +0200)
commit555f59e76b7ea0c4f77447fc778edc0b44038441
tree33022d52cd824f28be9f9228f288da47737c2cb5
parentb606d4e113a0179a58be4a4a567ef710b6f3052a
mergesort: avoid cloning value in expr_msort_cmp()

commit f749f344331a03ce1f5035ef6d652786f48643ce upstream.

If we have a plain EXPR_VALUE value, there is no need to copy
it via mpz_set().

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/mergesort.c