From: Stefan Wahren <wahrenst@gmx.net>
To: Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: Dan Carpenter <dan.carpenter@linaro.org>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Stefan Wahren <wahrenst@gmx.net>
Subject: [PATCH 0/2 net V2] net: vertexcom: mse102x: Fix mse102x_tx_work
Date: Tue, 5 Nov 2024 17:35:44 +0100 [thread overview]
Message-ID: <20241105163545.33585-1-wahrenst@gmx.net> (raw)
In-Reply-To: <20241105163101.33216-1-wahrenst@gmx.net>
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 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
next prev parent reply other threads:[~2024-11-05 16:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-05 16:31 [PATCH 1/2 net V2] net: vertexcom: mse102x: Fix possible double free of TX skb Stefan Wahren
2024-11-05 16:35 ` Stefan Wahren [this message]
2024-11-05 16:35 ` [PATCH 2/2 net V2] net: vertexcom: mse102x: Fix tx_bytes calculation Stefan Wahren
2024-11-07 2:00 ` Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241105163545.33585-1-wahrenst@gmx.net \
--to=wahrenst@gmx.net \
--cc=andrew+netdev@lunn.ch \
--cc=dan.carpenter@linaro.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®