aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2017-10-12 17:34:07 +0000
committerDavid S. Miller <[email protected]>2017-10-14 18:13:27 +0000
commit1bdec44955edc22fb840f5965987d2972307dcc9 (patch)
tree5f463cef301621f07860e0a4023f940c03f8cab0 /drivers/net/dsa/dsa_loop.c
parentMerge branch 'stmmac-Improvements-for-multi-queuing-and-for-AVB' (diff)
downloadkernel-1bdec44955edc22fb840f5965987d2972307dcc9.tar.gz
kernel-1bdec44955edc22fb840f5965987d2972307dcc9.zip
bpf: verifier: set reg_type on context accesses in second pass
Use a simplified is_valid_access() callback when verifier is used for program analysis by non-host JITs. This allows us to teach the verifier about packet start and packet end offsets for direct packet access. We can extend the callback as needed but for most packet processing needs there isn't much more the offloads may require. 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