Skip to content
Snippets Groups Projects
Commit 4c3024de authored by Willem de Bruijn's avatar Willem de Bruijn Committed by Daniel Borkmann
Browse files

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: b90efd22 ("bpf: only adjust gso_size on bytestream protocols")
Signed-off-by: default avatarWillem de Bruijn <willemb@google.com>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 78c3aff8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment