aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorShmulik Ladkani <shmulik@metanetworks.com>2019-10-25 16:42:23 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2019-10-30 16:37:08 +0100
commitcf204a718357c3c28557cc6bdc77a3adc33d0741 (patch)
treedacf4b79c6b7fbbd36ddf498dd8505d01e98c903 /kernel
parentbpf, testing: Refactor test_skb_segment() for testing skb_segment() on different skbs (diff)
downloadlinux-dev-cf204a718357c3c28557cc6bdc77a3adc33d0741.tar.xz
linux-dev-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 'kernel')
0 files changed, 0 insertions, 0 deletions