summaryrefslogtreecommitdiffstats
path: root/net/sched/act_ct.c
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@intel.com>2020-09-10 02:03:11 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-12 02:21:51 +0200
commitb5b73b26b3ca34574124ed7ae9c5ba8391a7f176 (patch)
treebf09b66f0c585442a172e368c9cf683282480085 /net/sched/act_ct.c
parentMerge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirshe... (diff)
downloadlinux-b5b73b26b3ca34574124ed7ae9c5ba8391a7f176.tar.xz
linux-b5b73b26b3ca34574124ed7ae9c5ba8391a7f176.zip
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>
Diffstat (limited to 'net/sched/act_ct.c')
0 files changed, 0 insertions, 0 deletions