mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
zone subtest prints FAIL, but did not set 'ret=1', so kselftest
framework reports success.
While at it, also fail when "nft -f" returns an error.
Noticed thanks to a (broken) local patch that should have caused this
selftest (resp. the kselftest framework) to report a failure.
Fixes: 33b8aad21a ("selftests: netfilter: add a vrf+conntrack testcase")
Signed-off-by: Florian Westphal <[email protected]>
Reviewed-by: Fernando Fernandez Mancera <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>