aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2015-04-03 20:52:24 +0200
committerDavid S. Miller <[email protected]>2015-04-03 14:59:15 -0400
commitbcad57182425426dd4aa14deb27f97acb329f3cd (patch)
treed534fef01490769c56a9246f9cf07dd681f0ecbe /lib/cpu-notifier-error-inject.c
parent2e7056c433216f406b90a003aa0ba42e19d3bdcf (diff)
ebpf: add skb->priority to offset map for usage in {cls, act}_bpf
This adds the ability to read out the skb->priority from an eBPF program, so that it can be taken into account from a tc filter or action for the use-case where the priority is not being used to directly override the filter classification in a qdisc, but to tag traffic otherwise for the classifier; the priority can be assigned from various places incl. user space, in future we may also mangle it from an eBPF program. Signed-off-by: Daniel Borkmann <[email protected]> Cc: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions