Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3532259pxb; Mon, 30 Aug 2021 04:50:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbizrC2N9v7AQlhZZp1xIQsDrPCCAXOIANVzwUu1AibzRoMPB8ayXekm8S7dRTYd/YYigZ X-Received: by 2002:a5d:8a0e:: with SMTP id w14mr18219014iod.94.1630324258992; Mon, 30 Aug 2021 04:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630324258; cv=none; d=google.com; s=arc-20160816; b=VnbM9Q/JmAHFJVx73wNCNrO+Wi0Lvep3HdRpttRvWL+UeEmsSRX4hPAqTbngwpwIld WMiDh9OWFjLcEV45TifQbcTcWqDH24EAdUWJdYV6AyZAz3Z2zn2LUQT31bRjIKLMyjuq SW+3hkqg/rntBbfjoztDvULAih6qqpc41MdYonQqiyByrDbZtXgaKFsuouUp3l7y+xMX OzIv5G8NstD/I71LL7nqf4Jwq4aVuGMC8tIT8NwXnbBqZ0Q4XV77kQR9+beklm4I4tSW ZCtq2FHZ0oB8odiroXGq3SWjBe8hOds1BSBe5xl4ItCYopfIu239EbwOMmSAUpoe4kDV exgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=WPtln9L++yrX8cCJBfP6sZOAt/cS19EiPJGZ6v2u/0c=; b=ybuoZwdMjUqiJQZS1+OVrDXXDtTrfRpSW4NOss2KIBJNEAWvC0CHIacIQ54SXLG56y qIW8Xwegh5qK7mCclZzX9jgiiviLD66FcehH+KCpI5XIZW7yW+zLqS7Ho867f/OY8CDe RvdzZLNs0gDxvXVl10jdlhYMHEbL3Cw5h62YLmp/NSObLlndwWiyL3z7w6kzEMhxRvBT q9umWAgTFPZFmnGcnnjgivot6GRqr0ImkVx9QDVOevDbXLNACa0MaXMONUniv8Ey4sUb SdXk5fNV6ZOcGJRs3PlZdwzqM/CCB/osPrwNsILrm+Pbps8PWvcQVzhIRnaYHaoMcxuk LsDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mg5VyRXR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 11si14247463ilq.55.2021.08.30.04.50.47; Mon, 30 Aug 2021 04:50:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mg5VyRXR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236585AbhH3LvA (ORCPT + 99 others); Mon, 30 Aug 2021 07:51:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:40460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236511AbhH3Lu7 (ORCPT ); Mon, 30 Aug 2021 07:50:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 04AD361153; Mon, 30 Aug 2021 11:50:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630324206; bh=HpVmdF4QAkhZw1bOkEIQFkTWCDXDdp6WRvOPJGIpkOA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Mg5VyRXRU6bHEy2Mygz2sUpVsPvrxoBNDEhDjODcROyOVo23d54NmbyjbGPU3ER91 4aY9Xd3nxHaxo+5Qco8fub3Lc9f/i0ZsE+cOBwTeGdhmKJv0NhzB0Zn2hugvVehan9 DuMrOiDBZBJqQSlv0koqE7rt3qdELfFfZPejMND0b9qwAhqvPL8bxTTvFP5o3W8Zp9 ofve2hix4VVDTUTm/gpSGBgYlCrcjXMfXt+BLDlCIcAMvkRxpF4BtiZMwL7t/XaLGO bzYDPYf+YLH4eBIKO9RTaiKTct6o558T9JZlwbXJTkAH3Xh04+uziBH0B6tf087tid XtQEZ5pxW+veA== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id EB1B060A6C; Mon, 30 Aug 2021 11:50:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] net: ipv4: Fix the warning for dereference From: patchwork-bot+netdevbpf@kernel.org Message-Id: <163032420595.13141.14066934004693192877.git-patchwork-notify@kernel.org> Date: Mon, 30 Aug 2021 11:50:05 +0000 References: <20210830091640.14739-1-yajun.deng@linux.dev> In-Reply-To: <20210830091640.14739-1-yajun.deng@linux.dev> To: Yajun Deng Cc: davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dan.carpenter@oracle.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 30 Aug 2021 17:16:40 +0800 you wrote: > Add a if statements to avoid the warning. > > Dan Carpenter report: > The patch faf482ca196a: "net: ipv4: Move ip_options_fragment() out of > loop" from Aug 23, 2021, leads to the following Smatch complaint: > > net/ipv4/ip_output.c:833 ip_do_fragment() > warn: variable dereferenced before check 'iter.frag' (see line 828) > > [...] Here is the summary with links: - [net-next] net: ipv4: Fix the warning for dereference https://git.kernel.org/netdev/net-next/c/1b9fbe813016 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html