diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-03-16 03:42:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-19 02:38:46 +0300 |
commit | 09c37a2c5bbc28b5fbc07a01db4bccdbd0a5d8a2 (patch) | |
tree | 22860981936d3b36e2cae1bdf22a46c996958bb2 /include/net/dst.h | |
parent | 019ded3aa7c9799fbe6533baeac9aafc7063bd39 (diff) | |
download | linux-09c37a2c5bbc28b5fbc07a01db4bccdbd0a5d8a2.tar.xz |
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/dst.h')
0 files changed, 0 insertions, 0 deletions