linux-stable/tools/testing
Jeffrin Jose T b22ab51a79 selftests: netfilter: missing error check when setting up veth interface
[ Upstream commit 82ce6eb1dd ]

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:16:16 +02:00
..
fault-injection License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ktest License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nvdimm mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL 2019-01-13 10:01:02 +01:00
radix-tree idr: fix invalid ptr dereference on item delete 2018-05-30 07:51:49 +02:00
selftests selftests: netfilter: missing error check when setting up veth interface 2019-06-22 08:16:16 +02:00