public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Eric Lammerts <eric@lammerts.org>
Cc: Pete Zaitcev <zaitcev@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: Would the father of init_mem_lth please stand up
Date: Sat, 8 Dec 2001 11:32:00 -0500	[thread overview]
Message-ID: <20011208113200.A7913@devserv.devel.redhat.com> (raw)
In-Reply-To: <20011207234048.A31442@devserv.devel.redhat.com> <Pine.LNX.4.43.0112081240080.7546-100000@ally.lammerts.org>
In-Reply-To: <Pine.LNX.4.43.0112081240080.7546-100000@ally.lammerts.org>; from eric@lammerts.org on Sat, Dec 08, 2001 at 12:47:05PM +0100

On Sat, Dec 08, 2001 at 12:47:05PM +0100, Eric Lammerts wrote:

> I agree it's ugly, but why would kfree be called on dangling pointers?
> All those pointers are initialized again on every sd_init() call. And
> there are no "goto cleanup_mem"s between the kmallocs.
> 
> Eric

I was too rush - indeed there are no gotos between kmallocs.
So the scenario that I presented cannot happen.

-- Pete

  reply	other threads:[~2001-12-08 16:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-08  4:40 Would the father of init_mem_lth please stand up Pete Zaitcev
2001-12-08  8:52 ` Jens Axboe
2001-12-08 11:07 ` Alan Cox
2001-12-08 16:36   ` Pete Zaitcev
2001-12-08 20:43     ` Alan Cox
2001-12-08 11:47 ` Eric Lammerts
2001-12-08 16:32   ` Pete Zaitcev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-12-08 19:16 Andries.Brouwer
2001-12-08 20:43 Andries.Brouwer
2001-12-08 20:58 ` Alan Cox
     [not found] <mailman.1007844368.15393.linux-kernel2news@redhat.com>
2001-12-08 21:56 ` Pete Zaitcev

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=20011208113200.A7913@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=eric@lammerts.org \
    --cc=linux-kernel@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