Alexei Starovoitov db58ba4592 bpf: wire in data and data_end for cls_act_bpf
allow cls_bpf and act_bpf programs access skb->data and skb->data_end pointers.
The bpf helpers that change skb->data need to update data_end pointer as well.
The verifier checks that programs always reload data, data_end pointers
after calls to such bpf helpers.
We cannot add 'data_end' pointer to struct qdisc_skb_cb directly,
since it's embedded as-is by infiniband ipoib, so wrapper struct is needed.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-06 16:01:54 -04:00
..
2016-03-11 12:04:37 -05:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2016-04-25 16:44:27 -04:00
2016-05-04 14:16:50 -04:00
2016-04-25 15:09:09 -04:00
2016-01-10 22:13:15 -05:00
2016-04-25 15:09:09 -04:00