From: Jakub Kicinski <kuba@kernel.org>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: davem@davemloft.net, linux-bluetooth@vger.kernel.org,
netdev@vger.kernel.org, Kuniyuki Iwashima <kuniyu@google.com>
Subject: Re: [GIT PULL] bluetooth 2025-06-20
Date: Sat, 21 Jun 2025 07:51:10 -0700 [thread overview]
Message-ID: <20250621075110.686bbf0f@kernel.org> (raw)
In-Reply-To: <20250620175748.185061-1-luiz.dentz@gmail.com>
On Fri, 20 Jun 2025 13:57:47 -0400 Luiz Augusto von Dentz wrote:
> bluetooth pull request for net:
>
> - L2CAP: Fix L2CAP MTU negotiation
> - hci_core: Fix use-after-free in vhci_flush()
> - btintel_pcie: Fix potential race condition in firmware download
> - hci_qca: fix unable to load the BT driver
commit 135c1294c585cf8
alloc_size = sizeof(*hdev);
if (sizeof_priv) {
/* Fixme: May need ALIGN-ment? */
alloc_size += sizeof_priv;
}
hdev = kzalloc(alloc_size, GFP_KERNEL);
if (!hdev)
return NULL;
+ if (init_srcu_struct(&hdev->srcu))
+ return NULL;
+
hdev->pkt_type = (HCI_DM1 | HCI_DH1 | HCI_HV1);
Isn't this leaking hdev?
next prev parent reply other threads:[~2025-06-21 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-20 17:57 [GIT PULL] bluetooth 2025-06-20 Luiz Augusto von Dentz
2025-06-21 14:51 ` Jakub Kicinski [this message]
2025-06-23 13:50 ` Luiz Augusto von Dentz
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=20250621075110.686bbf0f@kernel.org \
--to=kuba@kernel.org \
--cc=davem@davemloft.net \
--cc=kuniyu@google.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=netdev@vger.kernel.org \
/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).