Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25E29C433B4 for ; Fri, 16 Apr 2021 18:41:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DA0146137D for ; Fri, 16 Apr 2021 18:41:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244901AbhDPSl2 (ORCPT ); Fri, 16 Apr 2021 14:41:28 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:45523 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236156AbhDPSlY (ORCPT ); Fri, 16 Apr 2021 14:41:24 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id E32A3146A; Fri, 16 Apr 2021 14:40:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 16 Apr 2021 14:40:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=xlIOQ0 fAlmYpbd4Euqp5Dp2Typ6lOH5qTTSLEw94Egg=; b=Z2UNoeBNDw9Co0NfWtZybM Ba5rQoiAkQHzq92pH2v1JsavZ/mCgpcrbjm6PFdLhDSoqkrt8YQnRN9su58/cZ2Y 52cM+z/XnR91FZ0Jo/S4KREeBfYwIuPj4n7Effedih24qxz341vQJtKcYsnip8BU e/RAW5yj6vHMqXAVzWSXc7DNp0X2ndgfAipdmYZZle1y8xDRYQc26Y5IG+hDAKEQ wKFD9T1AQ05sVmgZgz+hbGmaMjDMm28gCnLLhPqjl0cQ+fFFYW7D52zxPWPeJNXO L96uHFrzioLCMBhrkmUSKSMJ2B27kkh9WvSFy6jkWlsOoLa0InBvVKDS5D2ef1KA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudelhedgudefudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepkfguohcu ufgthhhimhhmvghluceoihguohhstghhsehiughoshgthhdrohhrgheqnecuggftrfgrth htvghrnheptdffkeekfeduffevgeeujeffjefhtefgueeugfevtdeiheduueeukefhudeh leetnecukfhppeekgedrvddvledrudehfedrudekjeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehiughoshgthhesihguohhstghhrdhorhhg X-ME-Proxy: Received: from localhost (igld-84-229-153-187.inter.net.il [84.229.153.187]) by mail.messagingengine.com (Postfix) with ESMTPA id A52AB24005D; Fri, 16 Apr 2021 14:40:57 -0400 (EDT) Date: Fri, 16 Apr 2021 21:40:53 +0300 From: Ido Schimmel To: Eric Dumazet Cc: "David S . Miller" , Jakub Kicinski , netdev , Eric Dumazet Subject: Re: [PATCH net-next] scm: fix a typo in put_cmsg() Message-ID: References: <20210416183538.1194197-1-eric.dumazet@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210416183538.1194197-1-eric.dumazet@gmail.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Apr 16, 2021 at 11:35:38AM -0700, Eric Dumazet wrote: > From: Eric Dumazet > > We need to store cmlen instead of len in cm->cmsg_len. > > Fixes: 38ebcf5096a8 ("scm: optimize put_cmsg()") > Signed-off-by: Eric Dumazet > Reported-by: Jakub Kicinski Tested-by: Ido Schimmel (I was about to bisect, but then noticed the report from Jakub) Thanks!