summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-02-17 02:23:27 +0300
committerDavid S. Miller <davem@davemloft.net>2017-02-20 02:15:23 +0300
commitf5a57723371f11ff953c4ba71184dc00e65469fc (patch)
tree38f76e696c6934a7c0ff3500f9c36bd581ca4d51 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent1786dbf3702e33ce3afd2d3dbe630bd04b1d2e58 (diff)
downloadlinux-f5a57723371f11ff953c4ba71184dc00e65469fc.tar.xz
mlx4: fix potential divide by 0 in mlx4_en_auto_moderation()
1) In the case where rate == priv->pkt_rate_low == priv->pkt_rate_high, mlx4_en_auto_moderation() does a divide by zero. 2) We want to properly change the moderation parameters if rx_frames was changed (like in ethtool -C eth0 rx-frames 16) Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions