๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10153

Re: [PATCH 07/14] xfrm: policy: reject mark with bits outside its mask on add

#10153
From: Steffen Klassert
Date: Tue, 03 Nov 2026 09:37
18 lines
10068 bytes
On Tue, Nov 03, 2026 at 08:05:03AM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider.
> 
> Critical: 0 ยท High: 0 ยท Medium: 1 ยท Low: 0
> 
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
> 
> - [Medium] This patch makes XFRM_MSG_NEWPOLICY and XFRM_MSG_UPDPOLICY
>   reject input that mainline currently accepts and that works.

That was intentional to avoid adding states that can't be deleted
anymore.
Technical Details
Message-ID: <aumrPTtDFY2WS3CF@gauss4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355329-linux-kernel-netdev=dewy.ru
References: <20261102100451.2505200-8-steffen.klassert@secunet.com> <179369310395.488856.1196610792291916744@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355329-linux-kernel-netdev=dewy.ru
From: steffen.klassert@secunet.com (Steffen Klassert)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 07/14] xfrm: policy: reject mark with bits outside its
 mask on add
Date: Tue, 3 Nov 2026 10:37:01 +0100
Organization: Usenet Network
Message-ID: <aumrPTtDFY2WS3CF@gauss4>
References: <20261102100451.2505200-8-steffen.klassert@secunet.com>
 <179369310395.488856.1196610792291916744@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3132610"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:HXsFZeJqNjYeVRTMK02f4Ef+4Rs= sha256:ffvDjaobNWMYUfxakkcxM8G+Yq2gN6KCFEK7zlc9IO8=
	sha1:dPOcJ2YLEQ9l2/Eq0Wkmz71+q5w= sha256:mkAMwMU0TGmyszZHlvJHeSp4iC4UxHhbVUYCPs5kibY=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 86C1B11279D; Tue,  3 Nov 2026 12:37:24 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.151
X-Spam-Status: No, score=-3.151 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=secunet.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id EchTZzRXXowH;
	Tue,  3 Nov 2026 12:37:22 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-355329-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=secunet.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 3921E11279A; Tue,  3 Nov 2026 12:37:13 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 18B15600CB4; Tue,  3 Nov 2026 09:37:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793698626;
	b=s5prmjSvnnVJG5pfkliEbbAdREUBXCv6S0N1hbaZSduwjndHqsxeS6ozQGxx7OxjDiNl
	 JT7Ds6dJvCk2d8jMdyoVyE+1zxtH90w6bd/9OBWl/QnnQrylDj2IinEAfO093Orm2zq3N
	 nkDqYkJzvkpRSceEVTdR9SbNfVWbdd1q5nffy8yox1iCP4/y2PrGjetJSOPTuJmANrTw0
	 ASSHdCG3+PVxKdJk/ksteviHqBvDWkJqxGqfHvFn5LIIQjzKSjAnJmhstgjy/pyfldh3K
	 3r2Znp0KFfyET8ErSs8P2NYAGldBC1uliN5lrbsHZO7wcbLuSBIVNzfCunfpztxaS+g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793698626;
	h=X-Original-To:Received:DMARC-Filter:Received:X-Virus-Scanned:
	 Received:Received:DKIM-Filter:DKIM-Signature:Received:Received:Date:
	 From:To:CC:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To:X-ClientProxiedBy;
	bh=FjGzHOT/dv0DDaqPW9o1/lHUQ69AWmhJS68h5YzkCFc=;
	b=2lnzwlb3CtLfnMrRRiQSSarMBnOfWcHQyhwkUbndcActH6myp/+hYLVKtEG51zuee0Rh
	 4aiNKiYyWbjpSM7MEIqRH3r+/HAk+4yI6ivLjJmh0eK0NC9kPkdmvKFJNUx8NZnNz8g0L
	 HlO1lZiztnOqC9D2Vjh//Enc+0txKwPI2g+PhCwGwNKu/yJLOo9bocE/DD8cU501czo9G
	 051kXQldqgd7pOxPXlmWqn0E10Ih4JqGWu5fcAOX0z3u8xYr2xVxYYC/ECP9XsEKYrTTt
	 Rza5DIPVNt84AxM0eAMNJWL7v9IBsCgr5Gs9EN799sM/r3YfhHrCZ1vjyeVxFE7RvHw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=secunet.com header.i=@secunet.com header.a=rsa-sha256 header.s=202301 header.b=lHs8QvgB;
	dmarc=pass header.from=secunet.com;
	spf=pass smtp.mailfrom=secunet.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 934CF606A335;
	Tue,  3 Nov 2026 09:37:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=secunet.com header.i=@secunet.com header.a=rsa-sha256 header.s=202301 header.b=lHs8QvgB
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=62.96.220.36
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793698625;
	b=GxHeer5rbiKK9tonTHgjACOeTOCnfKcuX2Us3mbCdTwmfA7Ds+OgLTHfeDpy3B7lFXSv
	 PxqNDJrEH2dbiOr0tk9nX3AIoDTCfNW4liAow1s8J5zbfkPFaP90mzuS+1e3uRloGoZel
	 jSqPjYDdHf/KyRiCK9QA4nyKmJCXqObskOEP39OQS+rIb5mYrgmJF7IogKRNF3hFMlb1/
	 rHvZJv8ydEUrM9X53RaTMhgbpbg+hejz84HkhOMtIuXJwghCCP+LSfy6mncahvQQipuyb
	 5+XJfGPddBiZ6otJkyjvF7enJBZaxORsXgabsij4ptLIpS2GvGaeDWrwL572p3MvN5w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793698625;
	h=DMARC-Filter:Received:X-Virus-Scanned:Received:Received:DKIM-Filter:
	 DKIM-Signature:Received:Received:Date:From:To:CC:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To:X-ClientProxiedBy;
	bh=FjGzHOT/dv0DDaqPW9o1/lHUQ69AWmhJS68h5YzkCFc=;
	b=cd0mbytCA3QU1PnPk3T4sij8iY/COuBoXaa52T0sGjfT1938s9d+ZLn+9spA9L6pjnZy
	 DhxtIam4z/nDCq358YKUj3zQ2tRRIoTvmnp3zOy8h76YATjKTJuBtxeaBG4bnKGA0j4Xp
	 Yk4ftifkD4ck/BqzSgpKd+DPm5OHwlC+dGLLhcebZKeGJ3ZtZaHg6b745sQEY8mxBVY7T
	 oT+1YI5DuxHYCngXjyYgGjMwnXQiA2mkntIjHi5ph+Vn2vzOyNfavokENdMDmUsYFb39L
	 uqUduXU2dBWtdLJ8GTW7+MSqjdkRG08QaNHu08eNByu9pP1AQuDtd93aOrSNRzFlySA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=secunet.com;
	spf=pass smtp.mailfrom=secunet.com;
	dkim=pass header.d=secunet.com header.i=@secunet.com header.a=rsa-sha256 header.s=202301 header.b=lHs8QvgB;
	arc=none smtp.remote-ip=62.96.220.36
X-Received: from mx1.secunet.com (mx1.secunet.com [62.96.220.36])
	(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83631606A324
	for <netdev@vger.kernel.org>; Tue,  3 Nov 2026 09:37:04 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 83631606A324
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=secunet.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=secunet.com
X-Received: from localhost (localhost [127.0.0.1])
	by mx1.secunet.com (Postfix) with ESMTP id AD10120538;
	Tue,  3 Nov 2026 10:37:02 +0100 (CET)
X-Virus-Scanned: by secunet
X-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 xgURhkt53aW9; Tue,  3 Nov 2026 10:37:02 +0100 (CET)
X-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 35440201AA;
	Tue,  3 Nov 2026 10:37:02 +0100 (CET)
X-DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.secunet.com 35440201AA
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secunet.com;
	s=202301; t=1793698622;
	bh=FjGzHOT/dv0DDaqPW9o1/lHUQ69AWmhJS68h5YzkCFc=;
	h=Date:From:To:CC:Subject:References:In-Reply-To:From;
	b=lHs8QvgBC21XBqn0f+C5b0zw4C9zcO/m5BjylBTh/XzEdctglSxEDIgt8odMYgAeA
	 +Aer9iUITF9/3tYLH6KY86g9AKRIJ5TZrlpKN5J+yp18bKdmBl5m30+nvIhnWjihzD
	 RYG7XQrYCC2JgbKYEiGojYtGKxXPOF4tsS80o4fMftVhYjZBgsiz2gw5zylax1UTzm
	 fPutraxUs58beYpt7iqDMvbKRswikQmTrJv3hU5rgzzrwypHNdftRDTzGf0/sijcX/
	 dvoZ0Q5Vt/Di+X+JHk4XPnSgqgsibzolPRB6a0lGf8uusSf0c9vFVn+gredtExWtyj
	 WdQCD+FQ8XXTw==
X-Received: from gauss4 (10.182.7.102) 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.49; Tue, 3 Nov
 2026 10:37:01 +0100
X-Received: (nullmailer pid 3728905 invoked by uid 1000);
	Tue, 03 Nov 2026 09:37:01 -0000
X-CC: <davem@davemloft.net>, <kuba@kernel.org>, <herbert@gondor.apana.org.au>,
	<netdev@vger.kernel.org>, Antony Antony <antony.antony@secunet.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <179369310395.488856.1196610792291916744@kernel.org>
X-ClientProxiedBy: EXCH-02.secunet.de (10.32.0.172) To EXCH-01.secunet.de
 (10.32.0.171)