Vinicius Costa Gomes
b5b73b26b3
taprio: Fix allowing too small intervals
...
It's possible that the user specifies an interval that couldn't allow
any packet to be transmitted. This also avoids the issue of the
hrtimer handler starving the other threads because it's running too
often.
The solution is to reject interval sizes that according to the current
link speed wouldn't allow any packet to be transmitted.
Reported-by: syzbot+8267241609ae8c23b248@syzkaller.appspotmail.com
Fixes: 5a781ccbd19e ("tc: Add support for configuring the taprio scheduler")
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-11 17:21:51 -07:00
..
2020-06-20 21:29:27 -07:00
2020-03-30 13:45:04 -07:00
2020-07-03 14:34:53 -07:00
2020-07-11 00:46:00 -07:00
2020-08-20 16:39:31 -07:00
2020-07-03 14:34:53 -07:00
2020-06-19 12:53:30 -07:00
2020-06-25 19:29:51 -07:00
2020-09-04 22:08:59 -07:00
2019-10-30 18:07:51 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-06-19 12:53:30 -07:00
2020-07-03 14:34:53 -07:00
2019-11-05 14:03:11 -08:00
2020-07-30 17:38:47 -07:00
2020-06-19 12:53:30 -07:00
2020-02-17 14:17:02 -08:00
2019-11-05 18:20:55 -08:00
2020-07-11 00:46:00 -07:00
2019-10-30 18:07:51 -07:00
2019-11-26 15:42:43 -08:00
2020-06-19 12:53:30 -07:00
2020-08-03 15:04:48 -07:00
2020-01-27 10:51:43 +01:00
2020-01-27 10:51:43 +01:00
2019-05-30 11:26:32 -07:00
2020-08-04 13:49:43 -07:00
2020-07-24 15:23:31 -07:00
2020-01-27 10:51:43 +01:00
2020-06-19 12:53:30 -07:00
2020-03-16 01:59:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-02-01 12:25:06 -08:00
2020-06-22 20:55:09 -07:00
2020-07-31 16:50:39 -07:00
2020-07-13 17:20:40 -07:00
2019-05-30 11:26:32 -07:00
2020-07-03 14:34:53 -07:00
2020-07-03 14:34:53 -07:00
2020-07-03 14:34:53 -07:00
2020-02-29 21:27:02 -08:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-07-13 17:20:40 -07:00
2020-07-01 17:43:27 -07:00
2020-05-01 16:08:19 -07:00
2020-07-20 17:00:02 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-08-23 17:36:59 -05:00
2020-08-05 20:13:21 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-08-05 20:13:21 -07:00
2020-08-05 20:13:21 -07:00
2020-07-16 16:48:34 -07:00
2020-09-10 12:38:26 -07:00
2020-07-16 16:48:34 -07:00
2020-08-05 20:13:21 -07:00
2020-07-16 16:48:34 -07:00
2020-08-05 20:13:21 -07:00
2020-02-19 17:49:48 -08:00
2019-12-03 11:53:55 -08:00
2019-12-06 11:58:45 -08:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-08-28 07:16:46 -07:00
2020-07-16 16:48:34 -07:00
2020-08-05 20:13:21 -07:00
2020-07-16 16:48:34 -07:00
2020-09-11 17:21:51 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00