Received: by 2002:a9a:4c47:0:b029:116:c383:538 with SMTP id u7csp1197044lko; Tue, 13 Jul 2021 19:20:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9Sb3pKs15xqjaxhx8lWzn+QgrcIiO/5q0fuSj/s4G83V2Zh0KOeC3YT/yzgWqFEHN7bKZ X-Received: by 2002:a05:6402:17d3:: with SMTP id s19mr9928562edy.49.1626229225239; Tue, 13 Jul 2021 19:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626229225; cv=none; d=google.com; s=arc-20160816; b=yA2kmJfVjG+yPNX7gFw4y1xeTQA+LpVH+HLNSnLhxXrRdIFkTlXk14stAbESN7XVu5 Zbs2TNWClhoz4rMqnGqAJ2qCXvgkcDJz2tU+X0CfkXO2fxJe3Ptx5+UHFVB7TGTA/sba 8GcF4KLwcq8PkAiPCEzbG2R4vQxW1R+WbjVhJN96P4TSOAJkXd5i2zxq9nx55czt7RlE LuAJnc3vQJnWxiCTa53dWmZEhPD6aV8iL2HRQfLKk1hEtL0esbWuk14TajV4ywSiyf+8 T5NmWk//nNH6HqI31KLQxMmEVryOCFI5STkm1ZdNb/YF/4eTdZNKVOmXrgBTEdaINXkz VTiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=zp6zsGwDAeX6wMArIHCu+0y40oH8ooEC9/7FEkdTzGw=; b=1BT4RzCr2tvfhh3emXQuQFKKeZklw4CgTvGHtxfBGjrLVrJwId3VfgQIZWUY+T1AFc wWKMhNjsMeSddnIBfVpZOWi2ow/HMww1Y83g1MNhPwWtIqLRmTHv9Dg7pe6uedGvjqpM WEKQgw++PL+jKimrfs5jcsx89Yd8TdNLxnknelcQmn/4wmrc3l2pNJt+OaMyl5fyfrOe vv568/fgShGe1ylKUsu4ZvK6xbWpYR/biqJ+58NF13XDN97W9fasTHXNi1t5O9scc6L4 W77MEzqhOkR9CTBf0GyHZnYtNfQD67JTFMzaHzKPYFVZNskv3Zq6Rs1Cbk+gh681F/Xh LYhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="f/2n8iV4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si833861eds.544.2021.07.13.19.20.03; Tue, 13 Jul 2021 19:20:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="f/2n8iV4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237471AbhGNCV4 (ORCPT + 99 others); Tue, 13 Jul 2021 22:21:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237370AbhGNCVz (ORCPT ); Tue, 13 Jul 2021 22:21:55 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECC61C0613DD; Tue, 13 Jul 2021 19:19:03 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id hc15so652452ejc.4; Tue, 13 Jul 2021 19:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zp6zsGwDAeX6wMArIHCu+0y40oH8ooEC9/7FEkdTzGw=; b=f/2n8iV4brqzHT4q325dwfGkaEAbRoWfZxC31W5f/r0XcQB6uIhv5cg9EbdCFPOTJU QV8QaFle31jZEerVppTBRVzEQLnM84YvvUgp8jawaOhdmXd8Ev8F+DFACmm3hrwW4T4S cECjX3DxB8P6/VBVa6Be6ESvMlmU61C0iSMYeSsdLDItS+3h6ORbDbtpxkOaJgJKMbSg oL0Qk6jwaMXUpIyeeidYecUpn3oZ22jSB5hOFwVaDV5HIgRE8dTI4RG9IbUiwZyA0tdf e5ZfJEPq78y20KPYr/wR6tjeYSVsr/b0nDBDJSYeRb3NjCcdb6paz5We03R8f7+2lRFp ImQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zp6zsGwDAeX6wMArIHCu+0y40oH8ooEC9/7FEkdTzGw=; b=JGatSXnDaFquIVL5JZ90mBhfNznwtCX/jQXywEBebo5mUIXUKUEqTmgHj7OdcKvUgj L7UktbtystidIVVK5mTbXSqeTUhw5y09KutcCP1ncTDezhkWc32vBpe965XjhGos4diX IiBWWwhc5eatwwfluLwAGyykhL2TRQWorNfRQUuhKyYYGsub+onIkRnEVRdzwhtPyCaK JukpH96MLyji7TY33NUD3q1JMUJ1UYfq5xyKbB2ouLcZ9wbiQlOL6oMV32jl3fPWoF8u T8P5TAZyk0ayfuG4zaaVfia/fy51Vk0gmdPnfbUK4Om1Skxr/DBJpQnAEv5FMP7BIiPG hKIw== X-Gm-Message-State: AOAM53336kvFisTGriPUVzczKOUIuoS+P3cBwL500qwqbMtw7VTQUdCV 8BcI5+RWouaUABBvHesFi3MWAiLAV0HSJAl/CS8= X-Received: by 2002:a17:906:4784:: with SMTP id cw4mr9350494ejc.160.1626229142481; Tue, 13 Jul 2021 19:19:02 -0700 (PDT) MIME-Version: 1.0 References: <20210713130344.473646-1-mudongliangabcd@gmail.com> <20210713132059.GB11179@breakpoint.cc> <20210713153115.GC11179@breakpoint.cc> In-Reply-To: <20210713153115.GC11179@breakpoint.cc> From: Dongliang Mu Date: Wed, 14 Jul 2021 10:18:36 +0800 Message-ID: Subject: Re: [PATCH v2] audit: fix memory leak in nf_tables_commit To: Florian Westphal Cc: Pablo Neira Ayuso , Jozsef Kadlecsik , "David S. Miller" , Jakub Kicinski , Richard Guy Briggs , Paul Moore , syzbot , kernel test robot , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, "open list:NETWORKING [GENERAL]" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 13, 2021 at 11:31 PM Florian Westphal wrote: > > Dongliang Mu wrote: > > > > +static void nf_tables_commit_free(struct list_head *adl) > > > > > > nf_tables_commit_audit_free? > > > > What do you mean? Modify the name of newly added function to > > nf_tables_commit_audit_free? > > Yes, this function is audit related, and it does the inverse > of existing '...audit_alloc'. Hi Florian, I double-check the patch, and it seems there is no need to send a followup patch (nf-next). I will send a v3 patch with the new function name. Best regards Dongliang Mu