[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241108114343.6174-1-wahrenst@gmx.net>
Date: Fri, 8 Nov 2024 12:43:41 +0100
From: Stefan Wahren <wahrenst@....net>
To: Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Dan Carpenter <dan.carpenter@...aro.org>,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Stefan Wahren <wahrenst@....net>
Subject: [PATCH 0/2 net V3] net: vertexcom: mse102x: Fix mse102x_tx_work
This fixes two issue in the TX path of the Vertexcom MSE102x driver.
Initial version:
https://lore.kernel.org/netdev/20241022155242.33729-1-wahrenst@gmx.net/
Changes in V3:
- use a temporary variable to store the "original" skb len in
patch 2 as suggested by Jakub Kicinski
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 | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
--
2.34.1
Powered by blists - more mailing lists