diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-03-16 01:42:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-19 00:38:46 +0100 |
commit | 09c37a2c5bbc28b5fbc07a01db4bccdbd0a5d8a2 (patch) | |
tree | 22860981936d3b36e2cae1bdf22a46c996958bb2 /include/net | |
parent | net: mvneta: bm: clarify dependencies (diff) | |
download | linux-09c37a2c5bbc28b5fbc07a01db4bccdbd0a5d8a2.tar.xz linux-09c37a2c5bbc28b5fbc07a01db4bccdbd0a5d8a2.zip |
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions