bpf: make bpf_skb_ecn_set_ce callable from BPF_PROG_TYPE_SCHED_ACT
authorPeter Oskolkov <posk@google.com>
Fri, 22 Mar 2019 23:40:18 +0000 (16:40 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 23 Mar 2019 01:16:43 +0000 (18:16 -0700)
commit315a202987dd2b2e0adebd13c83ceef44836e66f
tree18b366bcae61e4cd6531d410cf2723d4ab83ccce
parent629a002568a0cffda2541c43084643a7892f0ab0
bpf: make bpf_skb_ecn_set_ce callable from BPF_PROG_TYPE_SCHED_ACT

This helper is useful if a bpf tc filter sets skb->tstamp.

Signed-off-by: Peter Oskolkov <posk@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
net/core/filter.c