linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
	linux-can@vger.kernel.org, kernel@pengutronix.de,
	william.xuanziyang@huawei.com, max@enpas.org,
	stable@vger.kernel.org
Subject: Re: [PATCH net 1/8] can: can327: can327_feed_frame_to_netdev(): fix potential skb leak when netdev is down
Date: Fri, 25 Nov 2022 08:00:17 +0000	[thread overview]
Message-ID: <166936321731.29613.6776566910480934923.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20221124195708.1473369-2-mkl@pengutronix.de>

Hello:

This series was applied to netdev/net.git (master)
by Marc Kleine-Budde <mkl@pengutronix.de>:

On Thu, 24 Nov 2022 20:57:01 +0100 you wrote:
> From: Ziyang Xuan <william.xuanziyang@huawei.com>
> 
> In can327_feed_frame_to_netdev(), it did not free the skb when netdev
> is down, and all callers of can327_feed_frame_to_netdev() did not free
> allocated skb too. That would trigger skb leak.
> 
> Fix it by adding kfree_skb() in can327_feed_frame_to_netdev() when netdev
> is down. Not tested, just compiled.
> 
> [...]

Here is the summary with links:
  - [net,1/8] can: can327: can327_feed_frame_to_netdev(): fix potential skb leak when netdev is down
    https://git.kernel.org/netdev/net/c/8fa452cfafed
  - [net,2/8] can: sja1000: fix size of OCR_MODE_MASK define
    https://git.kernel.org/netdev/net/c/26e8f6a75248
  - [net,3/8] can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
    https://git.kernel.org/netdev/net/c/92dfd9310a71
  - [net,4/8] can: cc770: cc770_isa_probe(): add missing free_cc770dev()
    https://git.kernel.org/netdev/net/c/62ec89e74099
  - [net,5/8] can: etas_es58x: es58x_init_netdev(): free netdev when register_candev()
    https://git.kernel.org/netdev/net/c/709cb2f9ed20
  - [net,6/8] can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods
    https://git.kernel.org/netdev/net/c/1eca1d4cc21b
  - [net,7/8] can: m_can: Add check for devm_clk_get
    https://git.kernel.org/netdev/net/c/68b4f9e0bdd0
  - [net,8/8] can: mcba_usb: Fix termination command argument
    https://git.kernel.org/netdev/net/c/1a8e3bd25f1e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



  reply	other threads:[~2022-11-25  8:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 19:57 [PATCH net 0/8] pull-request: can 2022-11-24 Marc Kleine-Budde
2022-11-24 19:57 ` [PATCH net 1/8] can: can327: can327_feed_frame_to_netdev(): fix potential skb leak when netdev is down Marc Kleine-Budde
2022-11-25  8:00   ` patchwork-bot+netdevbpf [this message]
2022-11-24 19:57 ` [PATCH net 2/8] can: sja1000: fix size of OCR_MODE_MASK define Marc Kleine-Budde
2022-11-24 19:57 ` [PATCH net 3/8] can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev() Marc Kleine-Budde
2022-11-24 19:57 ` [PATCH net 4/8] can: cc770: cc770_isa_probe(): add missing free_cc770dev() Marc Kleine-Budde
2022-11-24 19:57 ` [PATCH net 5/8] can: etas_es58x: es58x_init_netdev(): free netdev when register_candev() Marc Kleine-Budde
2022-11-24 19:57 ` [PATCH net 6/8] can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods Marc Kleine-Budde
2022-11-24 19:57 ` [PATCH net 7/8] can: m_can: Add check for devm_clk_get Marc Kleine-Budde
2022-11-24 19:57 ` [PATCH net 8/8] can: mcba_usb: Fix termination command argument Marc Kleine-Budde

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=166936321731.29613.6776566910480934923.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=kernel@pengutronix.de \
    --cc=kuba@kernel.org \
    --cc=linux-can@vger.kernel.org \
    --cc=max@enpas.org \
    --cc=mkl@pengutronix.de \
    --cc=netdev@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=william.xuanziyang@huawei.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;
as well as URLs for NNTP newsgroup(s).