[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120107.101702.971636020211532236.davem@davemloft.net>
Date: Sat, 07 Jan 2012 10:17:02 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: glommer@...allels.com
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
cgroups@...r.kernel.org, gthelen@...gle.com,
kamezawa.hiroyu@...fujitsu.com, chavey@...gle.com
Subject: Re: [PATCH] net: fix sock_clone reference mismatch with tcp
memcontrol
From: Glauber Costa <glommer@...allels.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@...allels.com>
Applied, thanks.
--
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