From: David S. Miller Date: Wed, 11 Oct 2023 09:39:01 +0000 (+0100) Subject: Merge branch 'skb_segment-testing' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bbb63db3b0ecb200b33bf172ffb93ef0e4472cee;p=users%2Fjedix%2Flinux-maple.git Merge branch 'skb_segment-testing' Willem de Bruijn says: ==================== add skb_segment kunit coverage As discussed at netconf last week. Some kernel code is exercised in many different ways. skb_segment is a prime example. This ~350 line function has 49 different patches in git blame with 28 different authors. When making a change, e.g., to fix a bug in one specific use case, it is hard to establish through analysis alone that the change does not break the many other paths through the code. It is impractical to exercise all code paths through regression testing from userspace. Add the minimal infrastructure needed to add KUnit tests to networking, and add code coverage for this function. Patch 1 adds the infra and the first simple test case: a linear skb Patch 2 adds variants with frags[] Patch 3 adds variants with frag_list skbs ==================== Signed-off-by: David S. Miller --- bbb63db3b0ecb200b33bf172ffb93ef0e4472cee