Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2856663ybv; Mon, 24 Feb 2020 13:03:33 -0800 (PST) X-Google-Smtp-Source: APXvYqzUTxPijtDAlnq4AoT7ukUvPtB2EJyx+RNah8F7Qg6aASJ27dmq2mK3u78/Usv9JftRCBEW X-Received: by 2002:a9d:4c8e:: with SMTP id m14mr39672428otf.245.1582578212942; Mon, 24 Feb 2020 13:03:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582578212; cv=none; d=google.com; s=arc-20160816; b=odFll3O7QrWJ8MqC8ozbY2egY3kVSBtiMsMfMyVQlZa2YOouGhpMU3x1fRmQf2Jg2y nhSrK2aio5D7MVH8BCIMoKWZ5W2rExzq/5RCam4zcoSwecQRLzXP6oHVjpe2hyqXEmQA dV+woLQ0ywKpTGxVl6/AuExVKm0AI9Nimo6iBZ7PG/cAmGm7xPSmpXKA9SXZwhdUnQtw 9FF/Pn6RDcU+cBC6fvsqeLM9FXZ7YmursFKpDGW4aMF/oE2TLKG7ZItOAVK9eJl7DBMm tI+ZjOAfdQQF/JYUIKX175DveGc5+4sDcbJEZzHQCObEWo8vqf2LCH6CGA82/PPcQBr8 wvrQ== 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=YeE7KafvMB6X1+hZ5nHo4jytvQmybKX+XvDB+Re4mQM=; b=UjsGYe84PU+nD1jLbOXSnqXFRjI95Y/zkE3F50O+JIBN5VZjG7EOvUwf1vjAU7udia bFMLxFhkWvzbzGBJ8/p5/do/cUh2ZxMZ9fmC1B5Oj1OZosOtePxunefE3RJPN77jI7l5 9GgvNcuoIJrEMy7zGhDB8/LYcNf1oF3mvMNqXbDDZCq0KyIEf6HUl0/m9Nvu5EyydC71 GH5JANehgPeyaV8WChPiQzR2Ein0P/G/+JrkoEVEO5fhDxVcYdy7UiH7+gGiOsI6puZX B8w7Ov060mzm9OfS3sbCAsakxzctBBjGKyqtueDO7T60szuRtk1cwm6ML/mC7+N+1/hn n48Q== 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 r5si5231313oic.19.2020.02.24.13.03.20; Mon, 24 Feb 2020 13:03:32 -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 S1727860AbgBXVDM (ORCPT + 99 others); Mon, 24 Feb 2020 16:03:12 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:38324 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbgBXVDL (ORCPT ); Mon, 24 Feb 2020 16:03:11 -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 BBEDA12199AC7; Mon, 24 Feb 2020 13:03:10 -0800 (PST) Date: Mon, 24 Feb 2020 13:03:10 -0800 (PST) Message-Id: <20200224.130310.385940338036895521.davem@davemloft.net> To: madhuparnabhowmik10@gmail.com Cc: gregkh@linuxfoundation.org, tglx@linutronix.de, allison@lohutok.net, netdev@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: 802: psnap.c: Use built-in RCU list checking From: David Miller In-Reply-To: <20200221161947.11536-1-madhuparnabhowmik10@gmail.com> References: <20200221161947.11536-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]); Mon, 24 Feb 2020 13:03:11 -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: Fri, 21 Feb 2020 21:49:47 +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.