diff options
author | Shmulik Ladkani <shmulik@metanetworks.com> | 2019-10-25 15:42:23 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-30 16:37:08 +0100 |
commit | cf204a718357c3c28557cc6bdc77a3adc33d0741 (patch) | |
tree | dacf4b79c6b7fbbd36ddf498dd8505d01e98c903 /lib/ucs2_string.c | |
parent | bpf, testing: Refactor test_skb_segment() for testing skb_segment() on differ... (diff) | |
download | linux-cf204a718357c3c28557cc6bdc77a3adc33d0741.tar.xz linux-cf204a718357c3c28557cc6bdc77a3adc33d0741.zip |
bpf, testing: Introduce 'gso_linear_no_head_frag' skb_segment test
Following reports of skb_segment() hitting a BUG_ON when working on
GROed skbs which have their gso_size mangled (e.g. after a
bpf_skb_change_proto call), add a reproducer test that mimics the
input skbs that lead to the mentioned BUG_ON as in [1] and validates the
fix submitted in [2].
[1] https://lists.openwall.net/netdev/2019/08/26/110
[2] commit 3dcbdb134f32 ("net: gso: Fix skb_segment splat when splitting gso_size mangled skb having linear-headed frag_list")
Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191025134223.2761-3-shmulik.ladkani@gmail.com
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions