Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2878696ybv; Mon, 24 Feb 2020 13:31:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyZSXC1sGXNz7LC9JIdc7JjrvMwKwEaTeNcibCaHyM1F/opcbuPe9HMTw0AlRuJ5FXl3MCw X-Received: by 2002:a9d:634c:: with SMTP id y12mr28119411otk.12.1582579875335; Mon, 24 Feb 2020 13:31:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582579875; cv=none; d=google.com; s=arc-20160816; b=P9EhoFD4+foC+aNOUc2ssfbwFHagIKNSF/EMEgGpx4wrnEJpu5H3j44VAE1bhIjDLO /Sh70rkzIyEETC7LeftKBaNhKpxWtatboX4vmW7ZpHJLnSwv5MGj/dRGFNhdmf99V4vh Eg34N/NUVczPZRTD5bdzzqzxrHL2yP2TYcMmLxCQ1yGOQMAHN/bjBXAQZUdzdCY/aZgl qZ2FZtUFlrc+HIqH3s3mqSQGMKaiJha7asU3018J7qbM/U2Bk+vsntGTQVXvoolK32of QdAw184UiVk+pFpszg9cY2lu0R4CcHTUwBDfTlwmhKISIsKhlZsC/IRA8stfIjuNB4qo nvvA== 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=5lZBHnFMqae0rSt3KLBb0TXfLXlYgM3UVAVOnIr2mgQ=; b=LuHkPp2Y2rYfsseCyas+TthjyGQRsFDTfqFTkOZXYC2euunCl5FRoTf3seMjxcYJlh tOSLnGHG53uJoKZHS2pSUDTAESt75gl7f2PKmxlcvBX4Gstc2FVDs7P6gt0tOhCEiAI2 20sRDcjBV755OLyfOs7iCj+6Va7qvWzw/TkBGHXyb/yyFi8mqMRhJGj4qGD/QS9i5xdZ DJkBpG31hHXKBYR3Al2OQ1VQiD/Hn/GJl1sEkTxFGZpuXvNucpkAVGJ0o7FarajM5FWH DJCfU4GlPzSg++aSkRazaoepHRecPZc70425C//Vf+nt99IAR9nuroDuGNZevYjw9qUD gwhg== 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 j9si6278485otl.153.2020.02.24.13.31.02; Mon, 24 Feb 2020 13:31:15 -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 S1728269AbgBXV3o (ORCPT + 99 others); Mon, 24 Feb 2020 16:29:44 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:38760 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728236AbgBXV3k (ORCPT ); Mon, 24 Feb 2020 16:29:40 -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 7670D121A82E8; Mon, 24 Feb 2020 13:29:39 -0800 (PST) Date: Mon, 24 Feb 2020 13:29:39 -0800 (PST) Message-Id: <20200224.132939.1625539021646596115.davem@davemloft.net> To: jbi.octave@gmail.com Cc: boqun.feng@gmail.com, linux-kernel@vger.kernel.org, kuba@kernel.org, allison@lohutok.net, steffen.klassert@secunet.com, axboe@kernel.dk, hare@suse.com, ktkhai@virtuozzo.com, edumazet@google.com, tglx@linutronix.de, pankaj.laxminarayan.bharadiya@intel.com, arnd@arndb.de, cai@lca.pw, netdev@vger.kernel.org Subject: Re: [PATCH 15/30] af_unix: Add missing annotation for unix_wait_for_peer() From: David Miller In-Reply-To: <20200223231711.157699-16-jbi.octave@gmail.com> References: <0/30> <20200223231711.157699-1-jbi.octave@gmail.com> <20200223231711.157699-16-jbi.octave@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:29:40 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jules Irenge Date: Sun, 23 Feb 2020 23:16:56 +0000 > Sparse reports a warning unix_wait_for_peer() > > warning: context imbalance in unix_wait_for_peer() - unexpected unlock > > The root cause is the missing annotation at unix_wait_for_peer() > Add the missing annotation __releases(&unix_sk(other)->lock) > > Signed-off-by: Jules Irenge Applied.