aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorJay Elliott <[email protected]>2017-11-15 15:01:13 -0800
committerPablo Neira Ayuso <[email protected]>2017-11-28 01:17:04 +0100
commit8b1836c4b64386e9bc580438cae386ed31a43ab9 (patch)
tree0d4f9364bc5ef3f6fbf1ed9ac464262b632f9ffd /tools/perf/scripts/python/call-graph-from-sql.py
parentfbcd253d2448b8f168241e38f629a36c4c8c1e94 (diff)
netfilter: conntrack: clamp timeouts to INT_MAX
When the conntracking code multiplies a timeout by HZ, it can overflow from positive to negative; this causes it to instantly expire. To protect against this the multiplication is done in 64-bit so we can prevent it from exceeding INT_MAX. Signed-off-by: Jay Elliott <[email protected]> Acked-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions