]> git.ipfire.org Git - thirdparty/nftables.git/commit
netlink: reset temporary set element stmt list after list splice
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 16 Sep 2021 11:51:23 +0000 (13:51 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 16 Sep 2021 12:07:07 +0000 (14:07 +0200)
commit0693edb9eb01fa5a479dcca7d30b06f52806d22a
tree1b3921bd58066503715291eebfcfbabfc2b4e8bc
parent7fd67ce121f86c9e0aecd731d367170ce1458389
netlink: reset temporary set element stmt list after list splice

Reset temporary stmt list to deal with the key_end case which might
result in a jump backward to handle the rhs of the interval.

Reported-by: Martin Zatloukal <slezi2@pvfree.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/netlink.c
tests/shell/testcases/maps/0013map_0 [new file with mode: 0755]
tests/shell/testcases/maps/dumps/0013map_0.nft [new file with mode: 0644]