diff options
| author | Paolo Abeni <pabeni@redhat.com> | 2024-12-17 13:11:35 +0100 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2024-12-17 13:11:42 +0100 |
| commit | 90d130aadce1592f6f2dc0cfecfc9502bbd6f5c0 (patch) | |
| tree | bf09ae02180a7bed6f9e837aed2d8d237a93f9a0 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | rust: net::phy fix module autoloading (diff) | |
| parent | net: ethernet: oa_tc6: fix tx skb race condition between reference pointers (diff) | |
| download | linux-90d130aadce1592f6f2dc0cfecfc9502bbd6f5c0.tar.gz linux-90d130aadce1592f6f2dc0cfecfc9502bbd6f5c0.zip | |
Merge branch 'fixes-on-the-open-alliance-tc6-10base-t1x-mac-phy-support-generic-lib'
Parthiban Veerasooran says:
====================
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.
v4:
- Replaced mutex with spin_lock_bh() variants as the start_xmit runs in
BH/softirq context which can't take sleeping locks.
====================
Link: https://patch.msgid.link/20241213123159.439739-1-parthiban.veerasooran@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
