[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20120106211423.967A716F64A@chavey.mtv.corp.google.com>
Date: Fri, 6 Jan 2012 13:14:23 -0800 (PST)
From: chavey@...gle.com (Laurent Chavey)
To: Glauber Costa <glommer@...allels.com>
CC: davem@...emloft.net, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, cgroups@...r.kernel.org,
Greg Thelen <gthelen@...gle.com>,
Hiroyouki Kamezawa <kamezawa.hiroyu@...fujitsu.com>,
Laurent Chavey <chavey@...gle.com>
Subject: Re: [PATCH] net: fix sock_clone reference mismatch with tcp memcontrol
> 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@...allels.com>
> CC: David S. Miller <davem@...emloft.net>
> CC: Greg Thelen <gthelen@...gle.com>
> CC: Hiroyouki Kamezawa <kamezawa.hiroyu@...fujitsu.com>
> CC: Laurent Chavey <chavey@...gle.com>
>
> ---
Tested-by: Laurent Chavey <chavey@...gle.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists