ACK: [SRU][PATCH 0/1][jammy:intel-iotg/intel-iot-realtime] Fix divide error
Philip Cox
philip.cox at canonical.com
Fri Apr 19 19:00:50 UTC 2024
On Fri, 2024-04-19 at 16:09 +0200, Thibault Ferrante wrote:
> BugLink: https://bugs.launchpad.net/bugs/2062129
>
> [Impact]
> Division by zero can be triggered when resetting/disabling
> the adapter
>
> [Fix]
> Explicitely check for 0 divider before going through this path
>
> [Test Plan]
> Test on according hardware:
> 1. tc qdisc add dev ${ETHERNET_INTERFACE} handle 8001: parent root
> mqprio num_tc 4 map 0 1 2 3 3 3 3 3 3 3 3 3 3 3 3 3 queues 1 at 0 1 at 1
> 1 at 2 1 at 3 hw 0
> 2. tc qdisc replace dev ${ETHERNET_INTERFACE} parent 8001:4 etf
> offload clockid CLOCK_TAI delta 500000
> 3. tc qdisc delete dev ${ETHERNET_INTERFACE} root
> 4. Repeate Step 1, 2 again.
>
> [Where problems could occur]
> Regression on IGC ethernet driver
>
>
> Thibault Ferrante (1):
> UBUNTU: SAUCE: igc: Fix divide error
>
> drivers/net/ethernet/intel/igc/igc_tsn.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --
> 2.43.0
>
>
--
Acked-by: Philip Cox <philip.cox at canonical.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240419/a6bf1d3e/attachment.html>
More information about the kernel-team
mailing list