[PATCH 0/2 net V2] net: vertexcom: mse102x: Fix mse102x_tx_work

From: Stefan Wahren
Date: Tue Nov 05 2024 - 11:36:28 EST


This fixes two issue in the TX path of the Vertexcom MSE102x driver.

Initial version:
https://lore.kernel.org/netdev/20241022155242.33729-1-wahrenst@xxxxxxx/

Changes in V2:
- free the temporary skb in patch 1 in order to minimize changes
as suggested by Jakub Kicinski
- add patch 2 to also fix the tx_bytes calculation

Stefan Wahren (2):
net: vertexcom: mse102x: Fix possible double free of TX skb
net: vertexcom: mse102x: Fix tx_bytes calculation

drivers/net/ethernet/vertexcom/mse102x.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

--
2.34.1