Linux/linux 9454360drivers/net/ethernet/stmicro/stmmac dwmac4_descs.c

net: stmmac: Prevent infinite loop in get_rx_timestamp_status()

Prevent infinite loop by correctly setting the loop condition to
break when i == 10.

Signed-off-by: Jose Abreu <joabreu at synopsys.com>
Cc: David S. Miller <davem at davemloft.net>
Cc: Joao Pinto <jpinto at synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro at st.com>
Cc: Alexandre Torgue <alexandre.torgue at st.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+1-1drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c
+1-11 files

UnifiedSplitRaw