diff options
| author | Jakub Kicinski <[email protected]> | 2017-10-12 17:34:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-14 18:13:28 +0000 |
| commit | 2ca71441f524b0a0cc01d8e51c875b00fbe31275 (patch) | |
| tree | e7a366f108db69b13dde743b7b88621e4194069e /drivers/net/dsa/dsa_loop.c | |
| parent | nfp: bpf: separate I/O from checks for legacy data load (diff) | |
| download | kernel-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
