zhangliping
ddc502dfed
openvswitch: meter: fix the incorrect calculation of max delta_t
...
Max delat_t should be the full_bucket/rate instead of the full_bucket.
Also report EINVAL if the rate is zero.
Fixes: 96fbc13d7e77 ("openvswitch: Add meter infrastructure")
Cc: Andy Zhou <azhou@ovn.org>
Signed-off-by: zhangliping <zhangliping02@baidu.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-11 22:48:59 -04:00
..
2018-02-15 14:29:27 -08:00
2018-02-11 14:34:03 -08:00
2018-02-25 20:19:34 +01:00
2018-03-01 19:55:56 +01:00
2018-03-02 20:32:15 -05:00
2018-02-11 14:34:03 -08:00
2018-02-26 16:19:30 +01:00
2018-03-09 11:41:47 -05:00
2018-03-07 13:38:56 -05:00
2018-02-16 15:46:15 -05:00
2018-02-06 14:43:37 +00:00
2018-03-09 11:19:26 -05:00
2018-03-07 15:01:03 -05:00
2018-03-09 13:03:57 -05:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2018-03-07 13:33:59 -05:00
2018-02-23 12:13:17 +01:00
2018-03-04 17:49:17 -05:00
2018-02-28 19:48:26 +01:00
2018-02-22 14:01:38 -05:00
2018-02-16 15:16:05 -05:00
2018-03-11 22:48:59 -04:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2018-02-26 15:07:04 -05:00
2018-03-02 09:40:27 -05:00
2018-02-11 14:34:03 -08:00
2018-02-22 15:37:47 -05:00
2018-03-09 11:41:47 -05:00
2018-03-09 11:41:47 -05:00
2018-02-28 12:30:25 -05:00
2018-02-11 14:34:03 -08:00
2018-02-27 11:46:03 -05:00
2018-02-27 14:41:48 -05:00
2018-02-13 12:21:45 -05:00
2018-02-11 14:34:03 -08:00
2018-02-27 10:54:12 +01:00
2018-03-04 17:49:17 -05:00