Article View: linux.kernel.netdev
Article #7540Re: [PATCH] netfilter: xt_policy: add NULL check for skb_dst() in output policy match
From: Fang Xieyan
Date: Mon, 26 Oct 2026 15:34
Date: Mon, 26 Oct 2026 15:34
7 lines
8512 bytes
8512 bytes
Hi Florian, Thanks for the explanation. Agreed, I'll drop this patch. Thanks, Fang Xieyan
Technical Details
Message-ID:
<20261026153428.76698-1-fangxy@xiaopeng.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351971-linux-kernel-netdev=dewy.ruReferences:
<20261026125313.14810-1-fangxy@xiaopeng.com>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-351971-linux-kernel-netdev=dewy.ru
From: fangxy@xiaopeng.com (Fang Xieyan)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] netfilter: xt_policy: add NULL check for skb_dst() in output policy match
Date: Mon, 26 Oct 2026 23:34:28 +0800
Organization: Usenet Network
Message-ID: <20261026153428.76698-1-fangxy@xiaopeng.com>
References: <20261026125313.14810-1-fangxy@xiaopeng.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="1337816"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Gcvjlh/NZs7MjakuMKZNHxCjwzc= sha256:dQ1JPQx7RAWYZbRfcQTkY8NzNnSs2b3nP+mpEY+Iqb0=
sha1:Wqew5j0/5TSiIpLAEx286d4unZs= sha256:RpyJ2B/BNNfPpY8HfMiz3Nu4q7nwlyrE3FYfPPmPnoM=
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 77E5A125BAE; Mon, 26 Oct 2026 18:35:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.149
X-Spam-Status: No, score=-3.149 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.25, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
header.d=xiaopeng.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 Hf76G3I1IuJt;
Mon, 26 Oct 2026 18:35:08 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-351971-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=xiaopeng.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 2A1B9125BA9; Mon, 26 Oct 2026 18:34:59 +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 E63B8602421; Mon, 26 Oct 2026 15:34:57 +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=1793028894;
b=pRXN4e/4m3cGIcRfnzfpiNEmFzuauOU1Kd+Ucy1YzyD36NS6m4Ki/5UoGVoME/fjpPBR
TaeWnXbgZ1UG1Vku4vxerjDCejF7HWXzuXl8MX4AUtljHuuR/BhImzfbKlmMFIjQ16ztD
swrv1n1nYipw8N0p4FgJS4oAhwbQUtJJXrPzeVOFbGigUXbEMyPh64/X0nPJfi2IfhJpM
a56JGQrVLHbAfaqdBcgXdnNZc+R7DTpDx6Wio2kZ4yHH5nI1NhqpBa28hdjNOtL70AHsI
4OWaFeKMKjP+yNYetzY54nVqkjCR6rr9NV0IIaNtrCX/ORnKu+tnAfl1WLlsP3e58Yg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793028894;
h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:
X-Alimail-AntiSpam:Received:From:To:Cc:Subject:Date:Message-ID:
X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:Content-Transfer-Encoding;
bh=5WbTE6FtCqbifuziiK1Je8VFGg0z85esmt3ElMO056c=;
b=VSXloN2MBsKrHs5ElIPWXcjLdg0qgJdLyKZ9gmv7+5/1dxK4Fvfd0ic9Fh6DUpEXv0RR
Z7VtyDyiCl40F6Ea+rrh3UJVHtICTYZeArLkPRrEttdZ3dr1wNbxmfaeewRUuXtfCCIHS
J51HSkS6HQ/uFFnI7hZ1Z7i1MQTmGED4TiL7GN68KuWSKJR2rA0xd/juHz3ObyytgzWUF
HxwfzQZjl8vlUGswMaWPtkFmokXfcYeezEQM3RWgeC492ecdTlmFLZk36wDTxDGB6X9XO
+3aqFQ1p9xXaKi8ODMedPCJgsCnMBiVZAtcN6W9MixvYOB7qR8+O6YPb37RVugAFRNg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=xiaopeng.com header.i=@xiaopeng.com header.a=rsa-sha256 header.s=default header.b=gycQtTV9;
dmarc=none header.from=xiaopeng.com;
spf=pass smtp.mailfrom=xiaopeng.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 91F1A606A31B;
Mon, 26 Oct 2026 15:34:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (1024-bit key, unprotected) header.d=xiaopeng.com header.i=@xiaopeng.com header.a=rsa-sha256 header.s=default header.b=gycQtTV9
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=115.124.28.98
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793028883;
b=t7Fg0EJNZs8WT4rWqL9oTFtfmBGRC9rMPFaS99xC3adMHvn0e9ArFuBmAGWmsXs7hbk7
ffQJKHdzfsUxnyDBXVNFWqpLSXU7S0OZ0BlGCE6w95+zL3X9/ZZp8kNGqaaK7wlybNMW4
mqwEeHYYFt3QA8F50oVL64oeBqKtiPrdQjA5PAxeMWdfGIqX/fsHiggO7/g8BCVB42KPP
mg8iBqBxyhKbp38Sl8NlA44YCzpHpk/v1teHRcVEuH4sdBzoARlHFdb0IPxCg9LEwcgTM
Q6GsVlp8jbEBuAQkAKLMZVDiaPp62Xwrc9bu5h4IRiipCfL77S3hd7E1GmFHcRhsCMQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793028883;
h=DMARC-Filter:DKIM-Signature:X-Alimail-AntiSpam:Received:From:To:Cc:
Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
Content-Transfer-Encoding;
bh=5WbTE6FtCqbifuziiK1Je8VFGg0z85esmt3ElMO056c=;
b=inWr6r17vY7Z5h9HJblTkIDHEbq8uLb4yr2CY3hezNx/YgsazLItX3gYZices15IfIKp
2v8bQ/+BYYl6x2XQHIJ++ebGA4ZLET0TV5Rytk6vhFvUy56fuT56o1MB5BzUUaTDSJXHf
fuXds91nzKeCBl4jtMUDToQeBpyF/iRbjXuoRpCzdPz3CBwujmd8Oz3GcgwVVrrh+RXZw
WpBAweFZ/UtnV/HQyUenM4RMHddki+q1JrSShJuwsQP0h5m12T5dGNhDzhPkXfCpY6B2d
X4ych/XmDbIQ4Bgb4MVBdSEhqP5IGwS+FO9av90xpnFfYaAR1BerXBIqFcN9wCYlfAQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=xiaopeng.com;
spf=pass smtp.mailfrom=xiaopeng.com;
dkim=pass header.d=xiaopeng.com header.i=@xiaopeng.com header.a=rsa-sha256 header.s=default header.b=gycQtTV9;
arc=none smtp.remote-ip=115.124.28.98
X-Received: from out28-98.mail.aliyun.com (out28-98.mail.aliyun.com [115.124.28.98])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7715606A31A;
Mon, 26 Oct 2026 15:34:40 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C7715606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=xiaopeng.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xiaopeng.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=xiaopeng.com; s=default;
t=1793028871; h=From:To:Subject:Date:Message-ID:MIME-Version;
bh=5WbTE6FtCqbifuziiK1Je8VFGg0z85esmt3ElMO056c=;
b=gycQtTV9gpsNfdC/iZJ3G8/cRmysmvw1+jDwlDzvSw/4Zyd+J08v4LlFzQ2XU2xJ988oYIOFTIhtnm6JrxrkhQHiTikWBl4sEOAN9X0hCUb+aw+LXD+ip2+KpXDSwQVB0iDrtvZqwnY8OnaetBuhvIac2+mXMq2hMtc5d0fEXPU=
X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1212897|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_news_journal|0.0519486-0.00412499-0.943926;FP=18301423795854014354|0|0|0|0|-1|-1|-1;HT=maildocker-contentspam033037034184;MF=fangxy@xiaopeng.com;NM=1;PH=DS;RN=13;RT=13;SR=0;TI=SMTPD_---.jq4ePfq_1793028869;
X-Received: from localhost.localdomain(mailfrom:fangxy@xiaopeng.com fp:SMTPD_---.jq4ePfq_1793028869 cluster:ay29)
by smtp.aliyun-inc.com;
Mon, 26 Oct 2026 23:34:30 +0800
X-Cc: pablo@netfilter.org,
phil@nwl.cc,
davem@davemloft.net,
edumazet@kernel.org,
kuba@kernel.org,
pabeni@redhat.com,
horms@kernel.org,
netfilter-devel@vger.kernel.org,
coreteam@netfilter.org,
netdev@vger.kernel.org,
linux-kernel@vger.kernel.org,
liuwb@xiaopeng.com
X-Mailer: git-send-email 2.50.1
X-In-Reply-To: <20261026125313.14810-1-fangxy@xiaopeng.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