test_bpf: avoid oopsing the kernel when generate_test_data() fails.
authorNicolas Schichan <nschichan@freebox.fr>
Tue, 4 Aug 2015 13:19:07 +0000 (15:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 05:02:31 +0000 (22:02 -0700)
commite34684f88efd9cf29ad5ff4750a0f5586383141f
tree4b6022d89a881b2c61c7978040b6184449664148
parentc71b5ad06e7306f73815cd64a5fe039a67126c99
test_bpf: avoid oopsing the kernel when generate_test_data() fails.

Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_bpf.c