sched, bpf: make skb->priority writable
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 29 Sep 2015 23:41:52 +0000 (01:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Oct 2015 12:02:41 +0000 (05:02 -0700)
commit754f1e6a36c9b42525de223ee1ba628dcafbad41
tree4e7003c31ee7623c1119a4fd21fac007766e9259
parentc46646d0484f5d08e2bede9b45034ba5b8b489cc
sched, bpf: make skb->priority writable

{cls,act}_bpf can now set the skb->priority from an eBPF program based
on various critera, so that for example classful qdiscs like multiq can
update the skb's priority during enqueue time and further push it down
into subsequent qdiscs.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c