From: Jens Axboe <axboe@kernel.dk>
To: Philipp Reisner <philipp.reisner@linbit.com>,
Dan Carpenter <error27@gmail.com>
Cc: Andreas Gruenbacher <agruen@linbit.com>,
kernel-janitors@vger.kernel.org, linux-block@vger.kernel.org,
Lars Ellenberg <lars.ellenberg@linbit.com>,
drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] [PATCH] drbd: use after free in drbd_create_device()
Date: Tue, 15 Nov 2022 07:53:43 -0700 [thread overview]
Message-ID: <166852402392.12848.9236710140570124289.b4-ty@kernel.dk> (raw)
In-Reply-To: <Y3Jd5iZRbNQ9w6gm@kili>
On Tue, 15 Nov 2022 16:16:43 +0300, Dan Carpenter wrote:
> The drbd_destroy_connection() frees the "connection" so use the _safe()
> iterator to prevent a use after free.
>
>
Applied, thanks!
[1/1] drbd: use after free in drbd_create_device()
commit: a7a1598189228b5007369a9622ccdf587be0730f
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2022-11-15 14:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-15 13:16 [Drbd-dev] [PATCH] drbd: use after free in drbd_create_device() Dan Carpenter
2022-11-15 14:05 ` Christoph Böhmwalder
2022-11-15 14:53 ` Jens Axboe [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=166852402392.12848.9236710140570124289.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=agruen@linbit.com \
--cc=drbd-dev@lists.linbit.com \
--cc=error27@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=lars.ellenberg@linbit.com \
--cc=linux-block@vger.kernel.org \
--cc=philipp.reisner@linbit.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