Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1807389ybi; Sun, 16 Jun 2019 13:56:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxApRdk6xtnT2N1lkUHskNdkfSa/+A/wnBFCBVlwRc92vzGDSjxduP4j6urKKVZizhYD1ud X-Received: by 2002:a62:ea04:: with SMTP id t4mr106830838pfh.47.1560718585074; Sun, 16 Jun 2019 13:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560718585; cv=none; d=google.com; s=arc-20160816; b=U8oe1OFG3ivqeBJUbgaWkxYveez3PMWEszTyq0RRLbIjG2mjjd9ryHI0U59MWq3uuW 2rQrBGVMtzoIDEsUXqBeroUkmmvTHxtGsyIx+ZhdzKS/WMyhmMJQfOCzpEGGP0r1VYwz YfVw/piJOMvJI742mVW1kDJIDfAd5cKdULSQJ8cEF3qj3FQ3DwvGq/oaf9CcYsrhUnio OTO57GQMfydYb943EKG9DtZHwk8d5sm+ZIfHdnzosFFT311Rt4flXrAe+EvLf7EvNNYV xwHAFfL81ba3r3X+zBXFBmqrcdsP2ix1PuYNDKm1Omn8YNiMHXENXhe5RLa0/akm2X/7 lRNw== 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=opPy7R0UJ7TC5UxR9fm+7972z+aIczxd2VJMcdQmIHI=; b=t/dAaknDZtEFK3+fnWVJRefvC6esYC0e5XcQ4AUOOdfBrYTQJdMM5VRFd60QVTRtDC fy/JAtWw8Ll1EFTApWYFpmmMfEXW3UCSXP7Dv49Obf5B+vZ9iQRaOSJz8HvDgiTD44Fp ECcRDt59Z1exHrhwQ3OSlnjmNM+/N34hYlBiSIzIFw2gBsJbJ7o87+WllHG2MqW3rYAQ hY1kz8tMdvUEJ96kFHvdRMexhskl5tzm0ywSXrbK3fQC2VRK4iEq25hiT4pWu+K/8cxl 0siJEwk2qSQU6xYTYf41pOuP0SBx8JZW+gf7/H0+jLeiu5DJGy3LnV2je6WuSPBnnTHZ 2ePQ== 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 w9si5255773pgr.250.2019.06.16.13.56.10; Sun, 16 Jun 2019 13:56:25 -0700 (PDT) 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 S1727459AbfFPUyr (ORCPT + 99 others); Sun, 16 Jun 2019 16:54:47 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:52048 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbfFPUyq (ORCPT ); Sun, 16 Jun 2019 16:54:46 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::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 04C47151C2872; Sun, 16 Jun 2019 13:54:45 -0700 (PDT) Date: Sun, 16 Jun 2019 13:54:45 -0700 (PDT) Message-Id: <20190616.135445.822152500838073831.davem@davemloft.net> To: decui@microsoft.com Cc: sunilmut@microsoft.com, kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, sashal@kernel.org, mikelley@microsoft.com, netdev@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] hvsock: fix epollout hang from race condition From: David Miller In-Reply-To: References: <20190614.191456.407433636343988177.davem@davemloft.net> 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]); Sun, 16 Jun 2019 13:54:46 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dexuan Cui Date: Sat, 15 Jun 2019 03:22:32 +0000 > These warnings are not introduced by this patch from Sunil. > > I'm not sure why I didn't notice these warnings before. > Probably my gcc version is not new eought? > > Actually these warnings are bogus, as I checked the related functions, > which may confuse the compiler's static analysis. > > I'm going to make a patch to initialize the pointers to NULL to suppress > the warnings. My patch will be based on the latest's net.git + this patch > from Sunil. Sunil should then resubmit his patch against something that has the warning suppression patch applied.