]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: move processing logic out of asserts
authorJan Palus <atler@pld-linux.org>
Mon, 28 Dec 2020 09:59:42 +0000 (10:59 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 4 Aug 2023 23:30:05 +0000 (01:30 +0200)
commitd5c869add2501aa722682c825b7b9ee247d22ec8
tree38d75e614b8e8d86a02e9896c5e872fa449e20f6
parent952186aa0342f6bf3c4614a609525338d057d8d9
nft: move processing logic out of asserts

[Phil: Introduce assert_nft_restart() to keep things clean, also add
       fallback returns to nft_action() and nft_prepare(), sanitizing
       things at least a bit.]

Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1487
Signed-off-by: Jan Palus <atler@pld-linux.org>
Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft-cache.c
iptables/nft.c