commit | 09c37a2c5bbc28b5fbc07a01db4bccdbd0a5d8a2 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Wed Mar 16 01:42:49 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 18 19:38:46 2016 -0400 |
tree | 22860981936d3b36e2cae1bdf22a46c996958bb2 | |
parent | 019ded3aa7c9799fbe6533baeac9aafc7063bd39 [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>