Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp79500pxb; Thu, 2 Sep 2021 19:56:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuwJPjjMW6BHDpTteHE9tq6BNYqsUz0ztMVsKWlpx/VgOXeYH1YL5Opyi6ivflfVI8rO0r X-Received: by 2002:a92:cd8b:: with SMTP id r11mr1010281ilb.136.1630637773765; Thu, 02 Sep 2021 19:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630637773; cv=none; d=google.com; s=arc-20160816; b=ehYDEl3mTg7PklFUPbhfxYadz23ndC5TGn8OtdnwcNpN2bIOBTB2in6MCuM2VWcU22 U6sx99kT83wIky1QEGmLN4VTvqILpBpj7Aifky+9+hnOfW6324NoPkSpMqCbBW5+mNov rCb+QW/vAN3HxP3b+IqlNkeJi4tyx1MU09Vj8V/9xj91OjlB6kwCMdRKDDezZCHF2sv+ uDfSHkoTsTAXnm0JrpKPGIUIELHK2S9OO0d5R1AK4KxYeFN/MzEnMZPKqCJLdp+6LRs0 uDivJjGEq4Y/UB9GZCMXps0wVIXFKNNhwBhNYknbJZI2o84/78A39lb5YY+UUitt4R4O UdAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=qy9EGvAwFo1iFibHgiCk6xtgb2daYaskDuHzMuWlUE8=; b=T/jltIFU7nJn6GSL2wICX6vpllZwPNoCn/7uVzgVwJMz53QRrJG7rutLbnYKrd0kiy WyIg0PpRdcyKCi7EuNVfe99TNKL1qmU7YQ7gIzUkrZlfBr6wFag3aZa/X6DpJm2f+myt ByH0xxqiCKVsfCDZwfZTB5yU7bGsu3lozaGDoJzHJyH7VK06/6R4swESTq0+9viVTREz 6NrDZUZPU4jeEtbQ/nU/xSs7JQq6Udk4zKJGu4erJv21NU0ageJTqvSGXiHZ9fnwbNqp Qd8uQWBTmHVpaIfL/vLaawK0s+/BYu+4zSFkfU2cHjbZYZ6TAbHCvF1/jgVbpeiL2ECi VpCw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si1568227jag.35.2021.09.02.19.56.01; Thu, 02 Sep 2021 19:56:13 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344995AbhICCcE (ORCPT + 99 others); Thu, 2 Sep 2021 22:32:04 -0400 Received: from out30-57.freemail.mail.aliyun.com ([115.124.30.57]:60953 "EHLO out30-57.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239772AbhICCcD (ORCPT ); Thu, 2 Sep 2021 22:32:03 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R981e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=yun.wang@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0Un3RzkZ_1630636261; Received: from testdeMacBook-Pro.local(mailfrom:yun.wang@linux.alibaba.com fp:SMTPD_---0Un3RzkZ_1630636261) by smtp.aliyun-inc.com(127.0.0.1); Fri, 03 Sep 2021 10:31:02 +0800 Subject: Re: [PATCH] Revert "net: fix NULL pointer reference in cipso_v4_doi_free" To: Paul Moore 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 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> From: =?UTF-8?B?546L6LSH?= Message-ID: Date: Fri, 3 Sep 2021 10:31:01 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/9/3 上午10:15, Paul Moore wrote: [snip] >> both v1 and v2 are there with the same description and both code modification >> 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? Regards, Michael Wang >