aboutsummaryrefslogtreecommitdiff
path: root/samples/bpf/hbm.c
diff options
context:
space:
mode:
authorWillem de Bruijn2019-03-06 14:35:15 -0500
committerDaniel Borkmann2019-03-07 10:32:24 +0100
commit4c3024debf62de4c6ac6d3cb4c0063be21d4f652 (patch)
tree0f076dcbe8e620af3420ba60a27ae6a2556897ea /samples/bpf/hbm.c
parent78c3aff834f7939d1a2570e366e33f2a880d4d9e (diff)
bpf: only test gso type on gso packets
BPF can adjust gso only for tcp bytestreams. Fail on other gso types. But only on gso packets. It does not touch this field if !gso_size. Fixes: b90efd225874 ("bpf: only adjust gso_size on bytestream protocols") Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/hbm.c')
0 files changed, 0 insertions, 0 deletions