From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95324C4743D for ; Wed, 9 Jun 2021 02:20:19 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0A69E60FDB for ; Wed, 9 Jun 2021 02:20:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0A69E60FDB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=paul-moore.com Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=linux-audit-bounces@redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-267-E5WglQDLN5KWBfOtdW1M5Q-1; Tue, 08 Jun 2021 22:20:16 -0400 X-MC-Unique: E5WglQDLN5KWBfOtdW1M5Q-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 034D2C73A1; Wed, 9 Jun 2021 02:20:13 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D12CD60CC9; Wed, 9 Jun 2021 02:20:12 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7FB6D1D90; Wed, 9 Jun 2021 02:20:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1592KABi022041 for ; Tue, 8 Jun 2021 22:20:10 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5594FFED2A; Wed, 9 Jun 2021 02:20:10 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 50345FED27 for ; Wed, 9 Jun 2021 02:20:07 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E62E88007AC for ; Wed, 9 Jun 2021 02:20:06 +0000 (UTC) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-406-N0Q-OklAMOi1KnQxmxdsmw-1; Tue, 08 Jun 2021 22:20:02 -0400 X-MC-Unique: N0Q-OklAMOi1KnQxmxdsmw-1 Received: by mail-ed1-f42.google.com with SMTP id s6so26841352edu.10 for ; Tue, 08 Jun 2021 19:20:02 -0700 (PDT) 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=0Y1FSEobOe8xalX9xjuNlZS8PBOfMBLSbk/7QTP+PmY=; b=RLusR5oOCR/FPc/wL6C/7Sj0P1+LvLqOQbo8jm/mdVlTnt7Z5KQuW+22amzg4gL0tV ZcgNAgsP4KyGv34n+kM1fAhvVPO4MnNaxpCp20jsY0g+tTLxU5VcF9RnvxOfSPpYrYSG YFTWpVS71gTLVe1OaSsq5LjDQOMKi3RhP7ARXzCd9f424/Nrm2BK62UaF47pPDascffc TezcRbe9/bZZJ41BoH3bK0Dl8kaN7AiYtMsbOpY/7t9TvBlznWqSlNUAoVfUU/J7liXF mAhmB/UymyYulKtBiy4EAUZBLHmSS/bkvuSMuv6sNDgQRIaFCC5cD5pPsiIurvMdADhO EMqg== X-Gm-Message-State: AOAM532BUqv2rSN7KS7uaYm4pIuez+owtXZc3fbqaW1+SCcH6iQMaRt+ uYQdpuo4ojUoHt0lI3BqRgiX3VMtsVtbMVruXkdq X-Google-Smtp-Source: ABdhPJwvgyH7PZtXzJ1DdgVwdgA0sHZzXneK81NkEzOR+ec3Iiw+5MfM1yjqs6r5lfCPLmJTFqYK2Ouz89eiw9lKPJU= X-Received: by 2002:a05:6402:348f:: with SMTP id v15mr16558137edc.135.1623205201671; Tue, 08 Jun 2021 19:20:01 -0700 (PDT) MIME-Version: 1.0 References: <20210608031150.2821712-1-libaokun1@huawei.com> In-Reply-To: <20210608031150.2821712-1-libaokun1@huawei.com> From: Paul Moore Date: Tue, 8 Jun 2021 22:19:50 -0400 Message-ID: Subject: Re: [PATCH -next] audit: Use list_move instead of list_del/list_add To: Baokun Li X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: linux-audit@redhat.com Cc: Hulk Robot , kernel-janitors@vger.kernel.org, yuehaibing@huawei.com, linux-kernel@vger.kernel.org, Eric Paris , yangjihong1@huawei.com, linux-audit@redhat.com, weiyongjun1@huawei.com, yukuai3@huawei.com X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-audit-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, Jun 7, 2021 at 11:03 PM Baokun Li wrote: > > Using list_move() instead of list_del() + list_add(). > > Reported-by: Hulk Robot > Signed-off-by: Baokun Li > --- > kernel/audit_tree.c | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) Merged into audit/next, thank you. -- paul moore www.paul-moore.com -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit