[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200911.172302.1375580850096268505.davem@davemloft.net>
Date: Fri, 11 Sep 2020 17:23:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vinicius.gomes@...el.com
Cc: netdev@...r.kernel.org, kuba@...nel.org, jiri@...nulli.us,
syzbot+8267241609ae8c23b248@...kaller.appspotmail.com
Subject: Re: [PATCH net v1] taprio: Fix allowing too small intervals
From: Vinicius Costa Gomes <vinicius.gomes@...el.com>
Date: Wed, 9 Sep 2020 17:03:11 -0700
> 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@...kaller.appspotmail.com
> Fixes: 5a781ccbd19e ("tc: Add support for configuring the taprio scheduler")
> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@...el.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists