]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: add test for dormant on/off/on bug
authorFlorian Westphal <fw@strlen.de>
Fri, 15 Sep 2023 13:20:05 +0000 (15:20 +0200)
committerFlorian Westphal <fw@strlen.de>
Sat, 7 Oct 2023 18:16:43 +0000 (20:16 +0200)
commitbcca2d67656f9bd1ef4159268cb49dbdcf2d811a
tree7ac389be74818b544e15d3bf01b43830231bb9e6
parent2e86f45d0260a0dab8fed974853d84d9923bbc55
tests: add test for dormant on/off/on bug

Disallow enabling/disabling a table in a single transaction.
Make sure we still allow one update, either to dormant, or
from active to dormant.

Reported-by: "Lee, Cherie-Anne" <cherie.lee@starlabs.sg>
Cc: Bing-Jhong Billy Jheng <billy@starlabs.sg>
Cc: info@starlabs.sg
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/transactions/dumps/table_onoff.nft [new file with mode: 0644]
tests/shell/testcases/transactions/table_onoff [new file with mode: 0755]