From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx203.postini.com [74.125.245.203]) by kanga.kvack.org (Postfix) with SMTP id 4C01D6B0069 for ; Mon, 22 Oct 2012 11:22:22 -0400 (EDT) Received: by mail-bk0-f41.google.com with SMTP id jm1so1054110bkc.14 for ; Mon, 22 Oct 2012 08:22:20 -0700 (PDT) Subject: Re: PROBLEM: Memory leak (at least with SLUB) from "secpath_dup" (xfrm) in 3.5+ kernels From: Eric Dumazet In-Reply-To: <1350918997.8609.858.camel@edumazet-glaptop> References: <20121019205055.2b258d09@sacrilege> <20121019233632.26cf96d8@sacrilege> <20121020204958.4bc8e293@sacrilege> <20121021044540.12e8f4b7@sacrilege> <20121021062402.7c4c4cb8@sacrilege> <1350826183.13333.2243.camel@edumazet-glaptop> <20121021195701.7a5872e7@sacrilege> <20121022004332.7e3f3f29@sacrilege> <20121022015134.4de457b9@sacrilege> <1350856053.8609.217.camel@edumazet-glaptop> <20121022045850.788df346@sacrilege> <1350893743.8609.424.camel@edumazet-glaptop> <20121022180655.50a50401@sacrilege> <1350918997.8609.858.camel@edumazet-glaptop> Content-Type: text/plain; charset="UTF-8" Date: Mon, 22 Oct 2012 17:22:17 +0200 Message-ID: <1350919337.8609.869.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Mike Kazantsev Cc: Paul Moore , netdev@vger.kernel.org, linux-mm@kvack.org On Mon, 2012-10-22 at 17:16 +0200, Eric Dumazet wrote: > OK, I believe I found the bug in IPv4 defrag / IPv6 reasm > > Please test the following patch. > > Thanks ! I'll send a more generic patch in a few minutes, changing kfree_skb_partial() to call skb_release_head_state() -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org