mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: glommer@parallels.com
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	cgroups@vger.kernel.org, gthelen@google.com,
	kamezawa.hiroyu@jp.fujitsu.com, chavey@google.com
Subject: Re: [PATCH] net: fix sock_clone reference mismatch with tcp memcontrol
Date: Sat, 07 Jan 2012 10:17:02 -0800 (PST)	[thread overview]
Message-ID: <20120107.101702.971636020211532236.davem@davemloft.net> (raw)
In-Reply-To: <1325830599-11857-1-git-send-email-glommer@parallels.com>

From: Glauber Costa <glommer@parallels.com>
Date: Fri,  6 Jan 2012 10:16:39 +0400

> Sockets can also be created through sock_clone. Because it copies
> all data in the sock structure, it also copies the memcg-related pointer,
> and all should be fine. However, since we now use reference counts in
> socket creation, we are left with some sockets that have no reference
> counts. It matters when we destroy them, since it leads to a mismatch.
> 
> Signed-off-by: Glauber Costa <glommer@parallels.com>

Applied, thanks.

  reply	other threads:[~2012-01-07 18:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06  6:16 Glauber Costa
2012-01-07 18:17 ` David Miller [this message]
2012-01-06 21:14 Laurent Chavey

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=20120107.101702.971636020211532236.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=cgroups@vger.kernel.org \
    --cc=chavey@google.com \
    --cc=glommer@parallels.com \
    --cc=gthelen@google.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®