aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <[email protected]>2019-10-17 12:57:02 +0200
committerAlexei Starovoitov <[email protected]>2019-10-18 16:18:42 -0700
commit05679ca6feebc1ef3bf743563315d9975adcf6fb (patch)
tree9c8479b01ec1f2baee2dc45a7cf278fe4320de13 /tools/perf/scripts/python/exported-sql-viewer.py
parent11875ba7f251c52effb2b924e04c2ddefa9856ef (diff)
xdp: Prevent overflow in devmap_hash cost calculation for 32-bit builds
Tetsuo pointed out that without an explicit cast, the cost calculation for devmap_hash type maps could overflow on 32-bit builds. This adds the missing cast. Fixes: 6f9d451ab1a3 ("xdp: Add devmap_hash map type for looking up devices by hashed index") Reported-by: Tetsuo Handa <[email protected]> Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions