Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2860432ybv; Mon, 24 Feb 2020 13:07:40 -0800 (PST) X-Google-Smtp-Source: APXvYqz/2FZP2FaNv2ztQVVFpGnrpvW0wwOmvjLeN+MLXNnVDgemiNWFQ135Fnb5uAWW5axVixw3 X-Received: by 2002:aca:b80a:: with SMTP id i10mr799709oif.106.1582578460255; Mon, 24 Feb 2020 13:07:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582578460; cv=none; d=google.com; s=arc-20160816; b=TVLFIERtcoFmIABFiGED1efQSdSSCivLylCNNxhmhzC520Q/uTPdUMrgjCZGnYKvED kdSnIDttZZzhoZ5GQyrSbmg27lxdzD/Mf2mV4LYsbvd1Y/JXK4Fa9ZHUmz8z2VbiR1j2 zHHdoH3og/fIJxk64jD6LkYNsoL4kO3wzLruIx1ezJXypa9mgky3aHHAifJzoNiz6K7M RF06Q90gxvXah6kYjIjN1Rn2GYiRzbvR8kkeg/OVU59DNBTyrzk7UUxpylskv45VWFmT I77UmpXu8gliqihYxMIbNHJtlNN3fQ5fLRFhKYNZ37sVI1YbA1UI5vKmD3rM//do5E6Q TMzg== 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=hhiCclnOQXSxF6KTDW8xSbLD09uk3ya567vNZTzb3pU=; b=tHu6me1YyButiBP9jEDu3MsGnVGvL8XCfw+bU4RSDl7nW206X6MNwL/YbxzLL4rJJD wwwvBJ/6436X+3Zv1hZM8Ewlw5c40BR10u9nLn/S547c6FXBkc2SxKJ9+Idu8Bj7feX6 B1g4Zo3Ek7UsrY0YQtMUoELvOER8qQiVLz2sqsBtNPhA67O79JOksgLSQ5le9/xt/ksz n0pXmFu2p+7kGuU9YuCJHc2Iri0KpvzC0aQVTLS2028G1/VU/mhlitEp7UR1zA5cRyd1 VPsB78yL7CDGTfzE5FIMfFyYmHImXcwllML6nhYkhpuRWnky++PCyz1hyvmdUi8PlXAW vJvg== 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 193si5124767oie.51.2020.02.24.13.07.27; Mon, 24 Feb 2020 13:07:40 -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 S1727803AbgBXVHX (ORCPT + 99 others); Mon, 24 Feb 2020 16:07:23 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:38380 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbgBXVHX (ORCPT ); Mon, 24 Feb 2020 16:07:23 -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 4E3B812199AD5; Mon, 24 Feb 2020 13:07:22 -0800 (PST) Date: Mon, 24 Feb 2020 13:07:21 -0800 (PST) Message-Id: <20200224.130721.1089012217070055572.davem@davemloft.net> To: frextrite@gmail.com Cc: edumazet@google.com, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, joel@joelfernandes.org, madhuparnabhowmik10@gmail.com, paulmck@kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] tcp: ipv4: Pass lockdep expression to RCU lists From: David Miller In-Reply-To: <20200221175713.2112-1-frextrite@gmail.com> References: <20200221175713.2112-1-frextrite@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:07:22 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Amol Grover Date: Fri, 21 Feb 2020 23:27:14 +0530 > md5sig->head maybe traversed using hlist_for_each_entry_rcu > outside an RCU read-side critical section but under the protection > of socket lock. > > Hence, add corresponding lockdep expression to silence false-positive > warnings, and harden RCU lists. > > Signed-off-by: Amol Grover Applied.