From: Dan Carpenter <dan.carpenter@oracle.com>
To: Ryan Mallon <rmallon@gmail.com>
Cc: Matt Porter <mporter@kernel.crashing.org>,
Alexandre Bounine <alexandre.bounine@idt.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [patch] rapidio: use after free in unregister function
Date: Fri, 05 Jul 2013 07:19:12 +0000 [thread overview]
Message-ID: <20130705071912.GY5714@mwanda> (raw)
In-Reply-To: <51D67066.9070105@gmail.com>
On Fri, Jul 05, 2013 at 05:06:14PM +1000, Ryan Mallon wrote:
> On 05/07/13 16:02, Dan Carpenter wrote:
> It looks like an mport_id can only be assigned to one scan entry (see
> rio_register_scan), so you can use list_for_each_entry and break; after
> the kfree(scan); instead.
Yeah. You're right. I'll resend.
regards,
dan carpenter
WARNING: multiple messages have this Message-ID (diff)
From: Dan Carpenter <dan.carpenter@oracle.com>
To: Ryan Mallon <rmallon@gmail.com>
Cc: Matt Porter <mporter@kernel.crashing.org>,
Alexandre Bounine <alexandre.bounine@idt.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [patch] rapidio: use after free in unregister function
Date: Fri, 5 Jul 2013 10:19:12 +0300 [thread overview]
Message-ID: <20130705071912.GY5714@mwanda> (raw)
In-Reply-To: <51D67066.9070105@gmail.com>
On Fri, Jul 05, 2013 at 05:06:14PM +1000, Ryan Mallon wrote:
> On 05/07/13 16:02, Dan Carpenter wrote:
> It looks like an mport_id can only be assigned to one scan entry (see
> rio_register_scan), so you can use list_for_each_entry and break; after
> the kfree(scan); instead.
Yeah. You're right. I'll resend.
regards,
dan carpenter
next prev parent reply other threads:[~2013-07-05 7:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-05 6:02 [patch] rapidio: use after free in unregister function Dan Carpenter
2013-07-05 6:02 ` Dan Carpenter
2013-07-05 7:06 ` Ryan Mallon
2013-07-05 7:06 ` Ryan Mallon
2013-07-05 7:19 ` Dan Carpenter [this message]
2013-07-05 7:19 ` Dan Carpenter
2013-07-05 19:04 ` Bounine, Alexandre
2013-07-05 19:04 ` Bounine, Alexandre
2013-07-05 20:39 ` [patch v2] " Dan Carpenter
2013-07-05 20:39 ` Dan Carpenter
2013-07-05 23:26 ` Ryan Mallon
2013-07-05 23:26 ` Ryan Mallon
2013-07-08 11:55 ` Bounine, Alexandre
2013-07-08 11:55 ` Bounine, Alexandre
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=20130705071912.GY5714@mwanda \
--to=dan.carpenter@oracle.com \
--cc=alexandre.bounine@idt.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mporter@kernel.crashing.org \
--cc=rmallon@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.