From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EDF675684 for ; Mon, 5 Jun 2023 10:05:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC3BDC4339C; Mon, 5 Jun 2023 10:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685959528; bh=jEtgtS7vHG/jGpRb7VioeqiejQfUDBAosf4JNsdPgg4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YZUO/hjxBJKeaytcuU91V137SaHvJM0pZ7J6DJT27wFSo0UtG6Fi2GzQMZMbgNhX2 40KhHZ2UsbtxZ5ozbOBNIQdXWqbBsKqpT5s1hEtoNB1fTIN5C15AfF0Na71+Z9Klit ao2RQKht43wk/iB1XwL28Tmc/9n8Kl43G1oIQCvNmkrHRBrvFhxu4yowmItAaogtaT 1NOVIvDD9BdHAUAhHfMfiaor9XhhI20QrHGtqGaLqB3ptqJVTkam3/+3ALvpGIh+z+ CF3y+W5GFhI7+WHmSe/5uNRIu7HtKpfa4X9ouGHFg8cfOviBjb4lqXupABFcc4ZoeS kdE+oohrWW/8g== Date: Mon, 5 Jun 2023 13:05:24 +0300 From: Leon Romanovsky To: Herbert Xu Cc: Steffen Klassert , "David S. Miller" , Eric Dumazet , Jakub Kicinski , netdev@vger.kernel.org, Paolo Abeni Subject: Re: [PATCH ipsec-next] xfrm: delete not-needed clear to zero of encap_oa Message-ID: <20230605100524.GC22489@unreal> References: <1ed3e00428a0036bdea14eb4f5a45706a89f11eb.1685952635.git.leon@kernel.org> <20230605083456.GA22489@unreal> <20230605084829.GB22489@unreal> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jun 05, 2023 at 04:50:55PM +0800, Herbert Xu wrote: > On Mon, Jun 05, 2023 at 11:48:29AM +0300, Leon Romanovsky wrote: > > > > It is impossible to remove encap_oa because it is declared as UAPI. > > > > Unless you want to support some out-of-tree code, uep->encap_oa will > > be always zero. > > No we should keep it. This has been a wart on our stack as it > basically breaks down when the peer shifts addresses. We should > start using encap_oa in some way and fix this. ok, I'll drop the disputed line from commit and resubmit. Thanks > > Cheers, > -- > Email: Herbert Xu > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt