+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When calculating difference between samples, the values are multiplied by 100. Large values may cause int overflow when multiplied (usually on first iteration). Fixed by forcing 100 to be of type unsigned long. Fixes: 4c4dbb4a ("net/mlx5e: Move dynamic interrupt coalescing code to include/linux") Signed-off-by:Tal Gilboa <talgi@mellanox.com> Reviewed-by:
Andy Gospodarek <gospo@broadcom.com> Signed-off-by:
David S. Miller <davem@davemloft.net>