APPLIED: [SRU][PATCH 0/1][jammy:intel-iotg/intel-iot-realtime] Fix divide error
Thibault Ferrante
thibault.ferrante at canonical.com
Tue Apr 30 15:31:45 UTC 2024
On 4/19/24 16:09, 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(-)
>
Applied to jammy/intel-iotg master branch and jammy/intel-iot-realtime master-next branch. Thanks!
--
Thibault
More information about the kernel-team
mailing list