aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJiong Wang <[email protected]>2018-11-08 04:08:42 -0500
committerDaniel Borkmann <[email protected]>2018-11-09 09:16:31 +0100
commite647815a4d3b3be9d85b5750ed0f2947fd78fac7 (patch)
tree3f5c73cd81f673cacdd375e1e3f5381b5ce1c296 /tools/perf/scripts/python/export-to-sqlite.py
parentbce6a14996f991e570d973179b5ff57544efaa9a (diff)
bpf: let verifier to calculate and record max_pkt_offset
In check_packet_access, update max_pkt_offset after the offset has passed __check_packet_access. It should be safe to use u32 for max_pkt_offset as explained in code comment. Also, when there is tail call, the max_pkt_offset of the called program is unknown, so conservatively set max_pkt_offset to MAX_PACKET_OFF for such case. Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Jiong Wang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions