Gustavo A. R. Silva
5b7789e8fa
openvswitch: meter: Use 64-bit arithmetic instead of 32-bit
...
Add suffix LL to constant 1000 in order to give the compiler
complete information about the proper arithmetic to use. Notice
that this constant is used in a context that expects an expression
of type long long int (64 bits, signed).
The expression (band->burst_size + band->rate) * 1000 is currently
being evaluated using 32-bit arithmetic.
Addresses-Coverity-ID: 1461563 ("Unintentional integer overflow")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-31 10:26:30 -05:00
..
2017-11-02 11:10:55 +01:00
2018-01-15 13:13:53 -05:00
2017-11-21 15:57:07 -08:00
2018-01-16 15:01:33 -05:00
2018-01-16 15:01:33 -05:00
2018-01-16 15:01:33 -05:00
2018-01-16 15:01:33 -05:00
2017-12-21 15:35:53 -05:00
2018-01-17 00:10:42 -05:00
2017-09-26 13:36:44 -07:00
2018-01-22 16:13:20 -05:00
2018-01-19 14:02:12 -05:00
2018-01-26 10:46:44 +01:00
2017-11-21 05:38:32 -10:00
2018-01-31 10:26:29 -05:00
2017-08-09 16:57:38 -07:00
2018-01-29 10:15:51 -05:00
2018-01-16 15:01:33 -05:00
2017-10-18 09:12:40 +01:00
2018-01-23 19:22:38 -05:00
2017-06-16 11:48:40 -04:00
2017-10-25 13:00:27 +09:00
2017-11-04 09:26:51 +09:00
2017-11-01 12:19:03 +09:00
2018-01-31 10:26:30 -05:00
2018-01-29 14:23:38 -05:00
2018-01-16 15:01:33 -05:00
2017-07-03 02:31:22 -07:00
2018-01-24 23:44:15 -05:00
2018-01-10 09:45:11 +01:00
2018-01-19 15:10:23 -05:00
2017-11-21 16:35:54 -08:00
2018-01-16 15:01:33 -05:00
2018-01-22 14:03:28 +01:00
2017-11-04 09:26:51 +09:00
2017-12-04 11:32:39 -05:00
2017-12-18 14:50:11 -05:00
2018-01-19 18:39:49 +01:00
2017-11-18 10:32:41 +09:00
2018-01-19 22:59:33 -05:00
2018-01-16 15:01:33 -05:00
2017-11-21 15:57:07 -08:00
2017-11-08 16:12:33 +09:00
2018-01-31 10:26:30 -05:00
2018-01-16 15:01:33 -05:00
2018-01-16 15:01:33 -05:00
2017-11-01 12:19:03 +09:00
2017-12-04 11:32:39 -05:00
2018-01-23 13:51:56 -05:00
2017-06-13 11:07:51 +02:00
2018-01-16 15:01:33 -05:00
2018-01-16 15:01:33 -05:00
2018-01-29 12:42:15 -05:00
2018-01-23 13:51:56 -05:00
2018-01-26 10:41:56 -05:00
2017-12-28 14:28:22 -05:00
2017-12-16 13:12:53 -08:00
2017-11-10 13:41:40 +09:00
2018-01-19 15:12:21 -05:00
2018-01-22 16:25:21 -05:00
2018-01-16 15:01:33 -05:00
2018-01-26 11:16:27 -05:00
2017-11-02 11:10:55 +01:00
2018-01-24 19:13:45 -05:00
2017-11-21 16:35:54 -08:00
2018-01-26 10:22:53 -05:00
2017-09-20 15:36:18 -07:00
2018-01-08 18:01:11 +01:00
2017-11-02 11:10:55 +01:00
2018-01-24 19:13:45 -05:00
2017-04-16 23:42:49 -05:00