aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2018-01-12 17:43:23 -0800
committerAlexei Starovoitov <[email protected]>2018-01-14 09:03:43 -0800
commitc366287ebd698ef5e3de300d90cd62ee9ee7373e (patch)
treedb24f872f9e1d05b43387b4480914ad8f5ee78b7 /tools/perf/scripts/python/call-graph-from-sql.py
parent8155aedf512edd3f88ef19f7cacf476ace7d1322 (diff)
bpf: fix divides by zero
Divides by zero are not nice, lets avoid them if possible. Also do_div() seems not needed when dealing with 32bit operands, but this seems a minor detail. Fixes: bd4cf0ed331a ("net: filter: rework/optimize internal BPF interpreter's instruction set") Signed-off-by: Eric Dumazet <[email protected]> Reported-by: syzbot <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions