From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [Patch nf] nf_conntrack_extend: silent a memory leak warning Date: Mon, 16 Apr 2018 17:44:04 +0200 Message-ID: <20180416154404.eatjnxp25evbon4d@salvia> References: <20180330202206.19565-1-xiyou.wangcong@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, Jozsef Kadlecsik , Florian Westphal To: Cong Wang Return-path: Received: from mail.us.es ([193.147.175.20]:35442 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751227AbeDPPoK (ORCPT ); Mon, 16 Apr 2018 11:44:10 -0400 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id 411CB4DE728 for ; Mon, 16 Apr 2018 17:43:35 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id 2E75FDA4F7 for ; Mon, 16 Apr 2018 17:43:35 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20180330202206.19565-1-xiyou.wangcong@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Mar 30, 2018 at 01:22:06PM -0700, Cong Wang wrote: > The following memory leak is false postive: > > unreferenced object 0xffff8f37f156fb38 (size 128): > comm "softirq", pid 0, jiffies 4294899665 (age 11.292s) > hex dump (first 32 bytes): > 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > 00 00 00 00 30 00 20 00 48 6b 6b 6b 6b 6b 6b 6b ....0. .Hkkkkkkk > backtrace: > [<000000004fda266a>] __kmalloc_track_caller+0x10d/0x141 > [<000000007b0a7e3c>] __krealloc+0x45/0x62 > [<00000000d08e0bfb>] nf_ct_ext_add+0xdc/0x133 > [<0000000099b47fd8>] init_conntrack+0x1b1/0x392 > [<0000000086dc36ec>] nf_conntrack_in+0x1ee/0x34b > [<00000000940592de>] nf_hook_slow+0x36/0x95 > [<00000000d1bd4da7>] nf_hook.constprop.43+0x1c3/0x1dd > [<00000000c3673266>] __ip_local_out+0xae/0xb4 > [<000000003e4192a6>] ip_local_out+0x17/0x33 > [<00000000b64356de>] igmp_ifc_timer_expire+0x23e/0x26f > [<000000006a8f3032>] call_timer_fn+0x14c/0x2a5 > [<00000000650c1725>] __run_timers.part.34+0x150/0x182 > [<0000000090e6946e>] run_timer_softirq+0x2a/0x4c > [<000000004d1e7293>] __do_softirq+0x1d1/0x3c2 > [<000000004643557d>] irq_exit+0x53/0xa2 > [<0000000029ddee8f>] smp_apic_timer_interrupt+0x22a/0x235 Applied, thanks.