lineage_android_kernel_xiao.../tools/testing
Jeffrin Jose T b11278eb5a selftests: netfilter: missing error check when setting up veth interface
[ Upstream commit 82ce6eb1dd13fd12e449b2ee2c2ec051e6f52c43 ]

A test for the basic NAT functionality uses ip command which needs veth
device. There is a condition where the kernel support for veth is not
compiled into the kernel and the test script breaks. This patch contains
code for reasonable error display and correct code exit.

Signed-off-by: Jeffrin Jose T <jeffrin@rajagiritech.edu.in>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-06-22 08:17:22 +02:00
..
fault-injection
ktest ktest: Fix child exit code processing 2017-03-15 10:02:45 +08:00
nvdimm mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL 2019-01-13 10:03:51 +01:00
radix-tree radix-tree tests: properly initialize mutex 2016-10-11 15:06:30 -07:00
selftests selftests: netfilter: missing error check when setting up veth interface 2019-06-22 08:17:22 +02:00