From: Vladimir Oltean <olte...@gmail.com>
Date: Sun, 29 Sep 2019 02:39:48 +0300

> As explained in the "net: sched: taprio: Avoid division by zero on
> invalid link speed" commit, it is legal for the ethtool API to return
> zero as a link speed. So guard against it to ensure we don't perform a
> division by zero in kernel.
> 
> Fixes: e0a7683d30e9 ("net/sched: cbs: fix port_rate miscalculation")
> Signed-off-by: Vladimir Oltean <olte...@gmail.com>

Applied and queued up for -stable.

Reply via email to