Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6240609ybv; Tue, 18 Feb 2020 12:44:23 -0800 (PST) X-Google-Smtp-Source: APXvYqyfWHGWoZjFd8bVfMQdvE8MiPyoyaHB1Apbn3viHbniaKWcjWiYKergxmigqzdDOFhKJUiu X-Received: by 2002:a9d:842:: with SMTP id 60mr4989155oty.318.1582058663601; Tue, 18 Feb 2020 12:44:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582058663; cv=none; d=google.com; s=arc-20160816; b=aSzCcWasMdrPyRBmI1bX6RxYqoJIsGDHESJOPEt8eYRWlpSKbKqQvotJ0BGjV91T1X OmzLTE2nkaLH0gvHeYV+54+FnwpVW8uYgNCaGuuWwZq7f/ua62i+YugfgPOVDLJCkUSU kuXG140MJFnLpRX9X2qdXgcATuGaUkhxsl101TYN0ErZulprqWoo2gxN56Fj0p0hn4n1 8PfFUsN4S6yDyuuoz6jz24+PdLqoaZcKgVr8lzlsqXjJ/OOZYQExNvg0kn0fScvFfzpC 2YbA6LuvYHUqDsnupCwNdbsrJHCUsiaR/cZsl4Zos1g1jx8k3ewv4inJCHmk0h6qszKS 20zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=UcnOEvsxBejGjOJXuJbf3ksWZmm6PeY4/iyMdYqVRJ0=; b=lgH6WPr9dokP+IKMuWEyRXbIHR4MRhQVpRvjtNHKhOUUnslr0YGLG4JeIJ1u3QxbvA Va1+BYEzBdJCa9DdkotJcmoSmP4q1NG69PKv9hfZYVK8wirg6uWkJiSCnYvDxd61mE+f wbU0WT8j0nbbxEy9RbUmxp2TxRIbJFo0g0h2kKi7RAI3tDBU8Xw6CHCNptXqjP3AoDRv UuTJIgRR2r2pqp4bv8VmlwuKP2dCHBmFBj7tg7kHIHJDMm3YWvBaMZE8AIWx+Zc8I1Dl YZ6V6raCKr/ySzVyo1tMI6epF6jqXW7lkP89AyZeawqkbnI7/muEXcMxvOFW51C3fYAc HDww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si2193934otq.112.2020.02.18.12.44.11; Tue, 18 Feb 2020 12:44:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727291AbgBRUns (ORCPT + 99 others); Tue, 18 Feb 2020 15:43:48 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:37016 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726799AbgBRUnr (ORCPT ); Tue, 18 Feb 2020 15:43:47 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 084391238B5CB; Tue, 18 Feb 2020 12:43:47 -0800 (PST) Date: Tue, 18 Feb 2020 12:43:46 -0800 (PST) Message-Id: <20200218.124346.1576463725573330621.davem@davemloft.net> To: madhuparnabhowmik10@gmail.com Cc: paul@paul-moore.com, netdev@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, joel@joelfernandes.org, frextrite@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org, paulmck@kernel.org Subject: Re: [PATCH] net: netlabel: Use built-in RCU list checking From: David Miller In-Reply-To: <20200218181718.7258-1-madhuparnabhowmik10@gmail.com> References: <20200218181718.7258-1-madhuparnabhowmik10@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 18 Feb 2020 12:43:47 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: madhuparnabhowmik10@gmail.com Date: Tue, 18 Feb 2020 23:47:18 +0530 > From: Madhuparna Bhowmik > > list_for_each_entry_rcu() has built-in RCU and lock checking. > > Pass cond argument to list_for_each_entry_rcu() to silence > false lockdep warning when CONFIG_PROVE_RCU_LIST is enabled > by default. > > Signed-off-by: Madhuparna Bhowmik Applied.