From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.secunet.com (mx1.secunet.com [62.96.220.36]) (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 2763B299AAB for ; Thu, 30 Apr 2026 07:56:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.96.220.36 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777535797; cv=none; b=MOMnIauUBoSEAR8ibnZjkil881Dn5ZI5O2AB8aza9QDek4bM50mCR75GnStR7GO7cmg1tlYAzAUgrVnIOSZiVgl77GdDnsdgoXDfdWLcIVwosBSF+4cabu4TSXl5qYAXBClIgzCJaeL4+FFBkK2ZtACjoQcOl53gb9OZFu2MyAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777535797; c=relaxed/simple; bh=yWqK1pQdaoehOit5NYMKf+hVOW0CIreYpIUXQ7XljR0=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PC70ig0+itTEw5Y0uNdatyZIn0QPdomsts//ZGhPpzGoI9yXmI38CRo1q1suUEcupWFhyhP3avDD5p/+qbr9kZumxyOhP1C0Y3kqOqXtGBYvbjVs+bjg1nL5cK6GTEoGjAPaBKhvLVvSgHmt9uPzFS4l3Aron7HYJoNE7jexDAg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=secunet.com; spf=pass smtp.mailfrom=secunet.com; dkim=pass (2048-bit key) header.d=secunet.com header.i=@secunet.com header.b=rEvXyLEH; arc=none smtp.client-ip=62.96.220.36 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=secunet.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=secunet.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=secunet.com header.i=@secunet.com header.b="rEvXyLEH" Received: from localhost (localhost [127.0.0.1]) by mx1.secunet.com (Postfix) with ESMTP id 8305F20892; Thu, 30 Apr 2026 09:56:26 +0200 (CEST) X-Virus-Scanned: by secunet Received: from mx1.secunet.com ([127.0.0.1]) by localhost (mx1.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lX90_rhCkhKo; Thu, 30 Apr 2026 09:56:25 +0200 (CEST) Received: from EXCH-01.secunet.de (rl1.secunet.de [10.32.0.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.secunet.com (Postfix) with ESMTPS id 9F890207D1; Thu, 30 Apr 2026 09:56:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.secunet.com 9F890207D1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secunet.com; s=202301; t=1777535785; bh=05E11VUoxO9K3UUbcl+ec946qAkTFQnioqeSg2ZlpJo=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=rEvXyLEHra46jtg88cv9+Cazp5Xlh+KUzeYAB8NznKZcKiiRVIvY7lpC/SKls37US SD5ZuRCd1VpyjAFu2lkshNxUAuxoCbcaM511W1pIrl/yaQXxLc53RmhZvIY19oMknI 8aJGOYnOUagSWPEzI93luRQIzOI+6GynVACADevIIs489T80SzOb/BzNdmcyFCw+kM zvUlj3APK1JS2DWHmZuwWyFi1qWEzfTwglWhLddtnqb0TnaZQ4JbKPyxsBfLwAozu3 IQy6j6kUPF1Roz0eVcFdfPgLiJBxGJfbtia03xliGbIV0zKQfagbEktSzdolsGyvAA N/HZsNixsVz1g== Received: from secunet.com (10.182.7.193) by EXCH-01.secunet.de (10.32.0.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.17; Thu, 30 Apr 2026 09:56:24 +0200 Received: (nullmailer pid 2405375 invoked by uid 1000); Thu, 30 Apr 2026 07:56:23 -0000 Date: Thu, 30 Apr 2026 09:56:23 +0200 From: Steffen Klassert To: Ren Wei CC: , , , , , , , <0x7f454c46@gmail.com>, , , , , Subject: Re: [PATCH net 1/1] xfrm: provide message size for XFRM_MSG_MAPPING Message-ID: References: <93a1ffe802d9c5d741ab95dce75eb3e9368be97d.1777354203.git.ruijieli51@gmail.com> 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: <93a1ffe802d9c5d741ab95dce75eb3e9368be97d.1777354203.git.ruijieli51@gmail.com> X-ClientProxiedBy: EXCH-04.secunet.de (10.32.0.184) To EXCH-01.secunet.de (10.32.0.171) On Wed, Apr 29, 2026 at 12:41:43AM +0800, Ren Wei wrote: > From: Ruijie Li > > The compat 64=>32 translation path handles XFRM_MSG_MAPPING, but > xfrm_msg_min[] does not provide the native payload size for this > message type. > > Add the missing XFRM_MSG_MAPPING entry so compat translation can size > and translate mapping notifications correctly. > > Fixes: 5461fc0c8d9f ("xfrm/compat: Add 64=>32-bit messages translator") > Cc: stable@kernel.org > Reported-by: Yuan Tan > Reported-by: Yifan Wu > Reported-by: Juefei Pu > Reported-by: Xin Liu > Signed-off-by: Ruijie Li > Signed-off-by: Ren Wei Applied, thanks a lot!