[PATCH net v3 0/2] Fixes on the OPEN Alliance TC6 10BASE-T1x MAC-PHY support generic lib

From: Parthiban Veerasooran
Date: Wed Dec 04 2024 - 08:36:38 EST


This patch series contain the below fixes.

- Infinite loop error when tx credits becomes 0.
- Race condition between tx skb reference pointers.

v2:
- Added mutex lock to protect tx skb reference handling.

v3:
- Added mutex protection in assigning new tx skb to waiting_tx_skb
pointer.
- Explained the possible scenario for the race condition with the time
diagram in the commit message.


Parthiban Veerasooran (2):
net: ethernet: oa_tc6: fix infinite loop error when tx credits becomes
0
net: ethernet: oa_tc6: fix tx skb race condition between reference
pointers

drivers/net/ethernet/oa_tc6.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)


base-commit: bb18265c3aba92b91a1355609769f3e967b65dee
--
2.34.1