Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753470AbbHCOCb (ORCPT ); Mon, 3 Aug 2015 10:02:31 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]:53458 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752899AbbHCOCa (ORCPT ); Mon, 3 Aug 2015 10:02:30 -0400 From: Nicolas Schichan To: Daniel Borkmann , Alexei Starovoitov , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Nicolas Schichan Subject: [PATCH 0/6] test_bpf improvements Date: Mon, 3 Aug 2015 16:02:02 +0200 Message-Id: <1438610528-14245-1-git-send-email-nschichan@freebox.fr> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1502 Lines: 46 Hello, Please find below the patch series with my latest changes to test_bpf. The first patch checks for unexpected NULL generated skbs before running the filter. The second patch adds fhe possibility for tests to generate fragmented skbs. The third patch tests LD_ABS and LD_IND on fragmented skbs. The fourth patch adds the possibility to restrict the tests being run by specifying the name/id/range of the test(s) to run via module parameters. The fifth patch tests LD_ABS and LD_IND on non fragmented skbs with various sizes and alignments. The sixth and final patch checks that the interpreter or JIT correctly resets A and X to 0. This serie is against today's net-next tree. Regards, Nicolas Schichan (6): test_bpf: avoid oopsing the kernel when generate_test_data() fails. test_bpf: allow tests to specify an skb fragment. test_bpf: test LD_ABS and LD_IND instructions on fragmented skbs. test_bpf: allow running of a single test specified as a module parameter. test_bpf: add more tests for LD_ABS and LD_IND. test_bpf: add tests checking that JIT/interpreter sets A and X to 0. lib/test_bpf.c | 645 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 644 insertions(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/