aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2017-10-12 17:34:16 +0000
committerDavid S. Miller <[email protected]>2017-10-14 18:13:28 +0000
commit2ca71441f524b0a0cc01d8e51c875b00fbe31275 (patch)
treee7a366f108db69b13dde743b7b88621e4194069e /drivers/net/dsa/dsa_loop.c
parentnfp: bpf: separate I/O from checks for legacy data load (diff)
downloadkernel-2ca71441f524b0a0cc01d8e51c875b00fbe31275.tar.gz
kernel-2ca71441f524b0a0cc01d8e51c875b00fbe31275.zip
nfp: bpf: add support for direct packet access - read
In direct packet access bound checks are already done, we can simply dereference the packet pointer. Verifier/parser logic needs to record pointer type. Note that although verifier does protect us from CTX vs other pointer changes we will also want to differentiate between PACKET vs MAP_VALUE or STACK, so we can add the check already. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions