Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] inetpeer: kill inet_putpeer race
Date: Tue, 12 Jul 2011 06:01:42 +0200	[thread overview]
Message-ID: <1310443302.2860.24.camel@edumazet-laptop> (raw)
In-Reply-To: <20110711.202525.960905313394921992.davem@davemloft.net>

Le lundi 11 juillet 2011 à 20:25 -0700, David Miller a écrit :
> From: Eric Dumazet <eric.dumazet@gmail.com>
> Date: Mon, 11 Jul 2011 14:49:52 +0200
> 
> > We currently can free inetpeer entries too early :
> ...
> > Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
> 
> I assume this is only relevant to net-next-2.6, am I right?
> 
> Applied.

Indeed, I caught this kmemcheck warning in net-next-2.6

linux-2.6 doesnt trigger it, since we hold a spinlock in inet_putpeer()

Thanks !



      reply	other threads:[~2011-07-12  4:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11 12:49 [PATCH] inetpeer: kill inet_putpeer race Eric Dumazet
2011-07-12  3:25 ` David Miller
2011-07-12  4:01   ` Eric Dumazet [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=1310443302.2860.24.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --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