summaryrefslogtreecommitdiff
path: root/staging/rcv_rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'staging/rcv_rtp.c')
0 files changed, 0 insertions, 0 deletions
pan='2' class='oid'>7b67c9e451afca1b570835bbd75d9be7aebc931e parent569e937e0100c8841619bd2150d15682141a6b0b (diff)
bpf: support 8-byte metafield access
The verifier supported only 4-byte metafields in struct __sk_buff and struct xdp_md. The metafields in upcoming struct bpf_perf_event are 8-byte to match register width in struct pt_regs. Teach verifier to recognize 8-byte metafield access. The patch doesn't affect safety of sockets and xdp programs. They check for 4-byte only ctx access before these conditions are hit. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat