Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp515449pxb; Fri, 3 Sep 2021 07:12:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMLpQhI0Q0G0uR01mgM7S7QkF98DgxC2q68dBxL1/rF6eVEJfeh2AMAEmz4r5axqze35qA X-Received: by 2002:a17:906:68c2:: with SMTP id y2mr4454069ejr.18.1630678372491; Fri, 03 Sep 2021 07:12:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630678372; cv=none; d=google.com; s=arc-20160816; b=S0ceDwPKceebYWSL/oAX+S+1wO3On72+pf93RLomHzh1w9Cg8HwvCghPUVPgP+esfV 1ILQ3b5hfdsByOAJhuyGTbxgqS8ydtoWyDU8dBKvzBf4hlq1gOSrx+aZ3cmqbx8vsFnD zuGSqkHEE9J9GfkyzcCXYoAm53xp3Mqj79ExPDGYbh+z2BXl93N8exk/neq0uzIhtQVY 2ZEUZo8dDh4AYJufHsULV8aK31F+jOaDrUcAXy8UVD9KaqTe5KKbYKlQGQRD7a1vTHN8 1OQzezcAr+TqC/3PQunYQxPnB5yEjgaizZNOpgj8FgbH3kk0rKpiZpN8Oe+ajNJo/IwH peUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=pLYrjeZgUDIctTaJL7OpU9VI62FrytQ5AqIStACCfm4=; b=r8Eh+6DxxhSzH4+scMygB0tb4IhQDLudCkDM+UJXGTeYNo113owWcR9XQU8kBT8LOz bFL5rLmPWaUdlG86ylyV6nnki3DfP1YopVCF5NV0luNTPkdnttBHjM4Tb/nOVrs/y4t8 JLiAZCaP1h3zV2arpkbU5DM76++DDt2jGIKWY6eCHKtsbIFaCdjCW7TOC4uceWY3flNm zFotHNd0z7l4ik7fxGkhKnytqjdu4TDzBYuw3r7Mj3Q72x0GKOlFO/YS4nO3vjovTeZT cAmgSLaeQXZhXqmRafp9yRGrTgEu3RFkDbaqqlIF7g0q94kaFr8OBVr+wWTFWxRKmdQG 9hGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b="JCYi/P7O"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j21si5326345edr.537.2021.09.03.07.12.08; Fri, 03 Sep 2021 07:12:52 -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=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b="JCYi/P7O"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243524AbhICOKA (ORCPT + 99 others); Fri, 3 Sep 2021 10:10:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234108AbhICOJ7 (ORCPT ); Fri, 3 Sep 2021 10:09:59 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB82FC061760 for ; Fri, 3 Sep 2021 07:08:59 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id q3so8149656edt.5 for ; Fri, 03 Sep 2021 07:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pLYrjeZgUDIctTaJL7OpU9VI62FrytQ5AqIStACCfm4=; b=JCYi/P7OmIJld4751FVgpDj4P8gZPtf8wdoTI1uhkZqMS/P3Ma+HqKela7mJ1DYOSY MCnv5p/GHzMcs+5kezvYFkb4RAmKVcDBpU5LqhPcq3Qk+N5gyHz0QO9ajw7/8gypIB0O CxZhJpWIjEry+q5lYTaqaJN8a4kJbDs0OjyIL07sPC8c5vejJzGIrzJFW6dOqOvtQHWs XzcuN+3NKmxnleEI1QZyVP+DDRLYWxBy0Tk8uUc++TitVzaLPslJ1vzN3XriSPR2u66b VQEUOMKF/tGBz44/jMNY6LwKcFnKvC+wtaoP1skqpfdj/voSh+XKydxGHtOQzqScctWl grYw== 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:content-transfer-encoding; bh=pLYrjeZgUDIctTaJL7OpU9VI62FrytQ5AqIStACCfm4=; b=DT658tKIeQpzk5g3WApax8eEYgtAlAJ/uYTgXBVbI4EnoacwOw94N16xtpbB/SCTk8 2ngov7uW8HRQeOhT9FFgD/Zv94ZqO9s5kLwByvkEq4njqCh394+VmAtvSsu6Khl3W117 NzhFjEaXNKFg6f/m0cUMPcMZWefFPQ4BCkniksK+3O5RQ77mcFoD3cXPeAoNC0qI0pDz n14kVWnu5j4Svtu6VioHd3kkUbUG9wAVZGzRyia/dCOBZUekaJZsGyDm9nHENRFLnyDz FCRsQVp3JcCaSlQl0VBAGirdoc2eVZEft6ejIGcOtZ3HhmOlws/xEC4juH+mV926hn9S YHTg== X-Gm-Message-State: AOAM533kv+IfmDXYlg9/YEncbDB+pqKpcfaGHp7S9VPCfpyTRbZqwUTW SiGtxHeyR+Wv8Hzs+cgrlPEDyImmIM3bDloi8rMh X-Received: by 2002:a05:6402:cab:: with SMTP id cn11mr4262241edb.293.1630678138060; Fri, 03 Sep 2021 07:08:58 -0700 (PDT) MIME-Version: 1.0 References: <18f0171e-0cc8-6ae6-d04a-a69a2a3c1a39@linux.alibaba.com> <7f239a0e-7a09-3dc0-43ce-27c19c7a309d@linux.alibaba.com> <4c000115-4069-5277-ce82-946f2fdb790a@linux.alibaba.com> In-Reply-To: From: Paul Moore Date: Fri, 3 Sep 2021 10:08:47 -0400 Message-ID: Subject: Re: [PATCH] Revert "net: fix NULL pointer reference in cipso_v4_doi_free" To: =?UTF-8?B?546L6LSH?= Cc: "David S. Miller" , Hideaki YOSHIFUJI , David Ahern , Jakub Kicinski , netdev@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 2, 2021 at 10:31 PM =E7=8E=8B=E8=B4=87 wrote: > On 2021/9/3 =E4=B8=8A=E5=8D=8810:15, Paul Moore wrote: > [snip] > >> both v1 and v2 are there with the same description and both code modif= ication > >> are applied. > >> > >> We want revert v1 but not in a revert patch style, then do you suggest > >> send a normal patch to do the code revert? > > > > It sounds like DaveM wants you to create a normal (not a revert) patch > > that removes the v1 changes while leaving the v2 changes intact. In > > the patch description you can mention that v1 was merged as a mistake > > and that v2 is the correct fix (provide commit IDs for each in your > > commit description using the usual 12-char hash snippet followed by > > the subject in parens-and-quotes). > > Thanks for the kindly explain, I've sent: > [PATCH] net: remove the unnecessary check in cipso_v4_doi_free > > Which actually revert the v1 and mentioned v2 fixed the root casue, > Would you please take a look see if that is helpful? That looks correct to me, acked. Thanks. --=20 paul moore www.paul-moore.com