Linux bluetooth development
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Bharath Reddy <kbreddy.rpbc@gmail.com>,
	linux-bluetooth@vger.kernel.org,
	Luiz Von Dentz <luiz.dentz@gmail.com>,
	Marcel Holtmann <marcel@holtmann.org>
Cc: syzbot+535ecc844591e50588a5@syzkaller.appspotmail.com,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] Bluetooth: fix memory leak in error path of hci_alloc_dev()
Date: Sun, 31 May 2026 20:13:17 +0200	[thread overview]
Message-ID: <16f5ac4a-c71f-4650-821b-baf98a6022ae@web.de> (raw)
In-Reply-To: <20260531163032.102728-1-kbreddy.rpbc@gmail.com>

…
> Fix the leak by explicitly calling cleanup_srcu_struct() in the
> fallback (unregistered) branch of bt_host_release() before freeing
> the device.
> ---
>  net/bluetooth/hci_sysfs.c | 4 +++-

Some contributors would appreciate patch version descriptions.
https://lore.kernel.org/all/?q=%22This+looks+like+a+new+version+of+a+previously+submitted+patch%22
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.1-rc5#n310

Regards,
Markus

      parent reply	other threads:[~2026-05-31 18:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-31 16:30 [PATCH v2] Bluetooth: fix memory leak in error path of hci_alloc_dev() Bharath Reddy
2026-05-31 17:23 ` [v2] " bluez.test.bot
2026-05-31 18:13 ` Markus Elfring [this message]

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=16f5ac4a-c71f-4650-821b-baf98a6022ae@web.de \
    --to=markus.elfring@web.de \
    --cc=kbreddy.rpbc@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    --cc=syzbot+535ecc844591e50588a5@syzkaller.appspotmail.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