[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241204133518.581207-1-parthiban.veerasooran@microchip.com>
Date: Wed, 4 Dec 2024 19:05:16 +0530
From: Parthiban Veerasooran <parthiban.veerasooran@...rochip.com>
To: <andrew+netdev@...n.ch>, <davem@...emloft.net>, <edumazet@...gle.com>,
<kuba@...nel.org>, <pabeni@...hat.com>
CC: <parthiban.veerasooran@...rochip.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <UNGLinuxDriver@...rochip.com>,
<jacob.e.keller@...el.com>
Subject: [PATCH net v3 0/2] Fixes on the OPEN Alliance TC6 10BASE-T1x MAC-PHY support generic lib
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
Powered by blists - more mailing lists