linux/drivers/net/ethernet/engleder
Gerhard Engleder b3bb8628bf tsnep: Fix tsnep_tx_unmap() error path usage
If tsnep_tx_map() fails, then tsnep_tx_unmap() shall start at the write
index like tsnep_tx_map(). This is different to the normal operation.
Thus, add an additional parameter to tsnep_tx_unmap() to enable start at
different positions for successful TX and failed TX.

Fixes: 403f69bbdb ("tsnep: Add TSN endpoint Ethernet MAC driver")
Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-08-08 20:44:33 -07:00
..
Kconfig tsnep: Fix s390 devm_ioremap_resource warning 2021-12-17 19:22:57 -08:00
Makefile
tsnep_ethtool.c
tsnep_hw.h tsnep: Add free running cycle counter support 2022-05-10 09:48:09 +02:00
tsnep_main.c tsnep: Fix tsnep_tx_unmap() error path usage 2022-08-08 20:44:33 -07:00
tsnep_ptp.c tsnep: Add free running cycle counter support 2022-05-10 09:48:09 +02:00
tsnep_selftests.c
tsnep_tc.c
tsnep.h tsnep: Fix resource_size cocci warning 2021-11-24 17:09:13 -08:00