bpf: allow access to skb->len from offloads
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 16 Oct 2017 23:40:56 +0000 (16:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2017 13:17:11 +0000 (14:17 +0100)
commit29d1b33a2e0a3288374102b004a15cb278a2303e
tree7e497a6e77e7b929801554eedfc4ea1b431d1e22
parent4f9218aaf8a463f76cac40aa08d859d065f8cc9e
bpf: allow access to skb->len from offloads

Since we are now doing strict checking of what offloads
may access, make sure skb->len is on that list.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c