diff options
| author | Daniel Borkmann <daniel@iogearbox.net> | 2016-03-16 01:42:49 +0100 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:50:10 +0300 |
| commit | 1c4f960f2e7c97d21861c0132159f190adb2149e (patch) | |
| tree | 69fbc87e829433828dc90993b191d59415dfe5c4 /kernel/bpf/stackmap.c | |
| parent | e8a3a06c6113522d937a844aa94a45ec70557abf (diff) | |
bpf: make skb->tc_classid also readable
Currently, the tc_classid from eBPF skb context is write-only, but there's
no good reason for tc programs to limit it to write-only. For example,
it can be used to transfer its state via tail calls where the resulting
tc_classid gets filled gradually.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions
