summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_nat_helper.c
diff options
context:
space:
mode:
authorJeffrin Jose T2019-05-15 08:44:04 +0200
committerPablo Neira Ayuso2019-05-21 20:12:20 +0200
commit82ce6eb1dd13fd12e449b2ee2c2ec051e6f52c43 (patch)
tree61600f69f63687f96a423b2793ed7a0710748fb3 /net/netfilter/nf_nat_helper.c
parentipvs: Fix use-after-free in ip_vs_in (diff)
downloadkernel-qcow2-linux-82ce6eb1dd13fd12e449b2ee2c2ec051e6f52c43.tar.gz
kernel-qcow2-linux-82ce6eb1dd13fd12e449b2ee2c2ec051e6f52c43.tar.xz
kernel-qcow2-linux-82ce6eb1dd13fd12e449b2ee2c2ec051e6f52c43.zip
selftests: netfilter: missing error check when setting up veth interface
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>
Diffstat (limited to 'net/netfilter/nf_nat_helper.c')
0 files changed, 0 insertions, 0 deletions