android_kernel_motorola_sm6375/include/uapi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Willem de Bruijn 4f5efed8ed UPSTREAM: bpf: Add gso_size to __sk_buff
BPF programs may want to know whether an skb is gso. The canonical
answer is skb_is_gso(skb), which tests that gso_size != 0.

Expose this field in the same manner as gso_segs. That field itself
is not a sufficient signal, as the comment in skb_shared_info makes
clear: gso_segs may be zero, e.g., from dodgy sources.

Also prepare net/bpf/test_run for upcoming BPF_PROG_TEST_RUN tests
of the feature.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200303200503.226217-2-willemdebruijn.kernel@gmail.com

Note: backported without changes to net/bpf/test_run.c

(cherry picked from commit cf62089b0edd7e74a1f474844b4d9f7b5697fb5c)
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I1f7d1b49e5ac35f18546d468e3847deaae5056ca
2020-07-03 03:33:47 +00:00
..
asm-generic mm: introduce MADV_PAGEOUT 2019-09-25 17:51:41 -07:00
drm ANDROID: include: uapi: drm: add additional drm mode flags 2019-11-14 15:14:58 -08:00
linux UPSTREAM: bpf: Add gso_size to __sk_buff 2020-07-03 03:33:47 +00:00
misc habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
mtd
rdma rdma: Remove nes ABI header 2020-01-17 19:48:39 +01:00
scsi
sound Merge branch 'asoc-5.4' into asoc-next 2019-09-09 14:55:20 +01:00
video
xen
Kbuild