Article View: linux.kernel.netdev
Article #6117Re: [PATCH net v4 6/7] net: add ip4_parse()
From: Willem de Bruijn
Date: Wed, 21 Oct 2026 16:18
Date: Wed, 21 Oct 2026 16:18
288 lines
20506 bytes
20506 bytes
Michael S. Tsirkin wrote:
> Multiple places in the net stack open-code the same minimal IPv4 header
> validation: pull the fixed header, check version 4 and IHL >= 5 (where 5
> is the fixed header size in 32-bit units) - and locate the transport
> header at IHL * 4 past the network header.
>
> Add a helper for doing that: it returns the validated header and
> the transport header offset, or NULL if truncated or malformed.
>
> As noted by Phil Sutter, there are more places that could use this
> helper, e.g. ip_mc_check_iphdr(). They will be converted in a follow-up
> patch.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> Reviewed-by: Björn Töpel <bjorn@kernel.org>
> Reviewed-by: Phil Sutter <phil@nwl.cc>
> ---
> include/linux/ip.h | 30 +++++++++++++++++++++++++++++
> include/linux/virtio_net.h | 28 +--------------------------
> net/bridge/br_netfilter_hooks.c | 15 +++++----------
> net/ipv4/ip_input.c | 13 +++++--------
> net/ipv4/netfilter/nf_reject_ipv4.c | 13 +++++--------
> 5 files changed, 46 insertions(+), 53 deletions(-)
>
> diff --git a/include/linux/ip.h b/include/linux/ip.h
> index d11c25f5030a..aba37cd60212 100644
> --- a/include/linux/ip.h
> +++ b/include/linux/ip.h
> @@ -56,4 +56,34 @@ static inline void iph_set_totlen(struct iphdr *iph, unsigned int len)
> {
> iph->tot_len = len <= IP_MAX_MTU ? htons(len) : 0;
> }
> +
> +/**
> + * ip4_parse - pull and minimally validate an IPv4 header
This only pulls sizeof(struct iphdr).
To match function comment and generally be robust: pull again
if ihl != 0.
Apparently virtio_net_hdr_tnl_to_skb will set
skb->transport_header to the thoff reported here, which may be
beyond the end of the linear packet.
> + * @skb: buffer to parse
> + * @nhoff: offset of the IPv4 header within the linear data
> + * @thoff: returns the transport header offset
> + *
> + * Only the fixed header is guaranteed linear on return: callers
> + * that need the options or the transport header must pull
> + * further.
> + *
> + * Return: the validated IPv4 header, or NULL if truncated or
> + * malformed.
> + */
> +static inline struct iphdr *ip4_parse(struct sk_buff *skb,
> + unsigned int nhoff,
> + unsigned int *thoff)
> +{
> + struct iphdr *iph;
> +
> + if (!pskb_may_pull(skb, nhoff + sizeof(struct iphdr)))
> + return NULL;
> +
> + iph = (struct iphdr *)(skb->data + nhoff);
> + if (iph->version != 4 || iph->ihl < sizeof(struct iphdr) / sizeof(u32))
> + return NULL;
> +
> + *thoff = nhoff + iph->ihl * sizeof(u32);
> + return iph;
> +}
> #endif /* _LINUX_IP_H */
> diff --git a/include/linux/virtio_net.h b/include/linux/virtio_net.h
> index b3bbecbd023c..724ab8659501 100644
> --- a/include/linux/virtio_net.h
> +++ b/include/linux/virtio_net.h
> @@ -53,32 +53,6 @@ static inline int virtio_net_hdr_set_proto(struct sk_buff *skb,
> return 0;
> }
>
> -/* TODO: nothing virtio specific here, move to ip.h */
> -
> -/*
> - * Pull and minimally validate the IPv4 header at @nhoff.
> - * Returns the header and stores the transport header offset in
> - * @thoff, or NULL if truncated or malformed. Only the fixed header
> - * is guaranteed linear; callers that need the options or the
> - * transport header must pull further.
> - */
> -static inline struct iphdr *virtio_net_ip4_parse(struct sk_buff *skb,
> - unsigned int nhoff,
> - unsigned int *thoff)
> -{
> - struct iphdr *iph;
> -
> - if (!pskb_may_pull(skb, nhoff + sizeof(struct iphdr)))
> - return NULL;
> -
> - iph = (struct iphdr *)(skb->data + nhoff);
> - if (iph->version != 4 ||
> - iph->ihl < sizeof(struct iphdr) / sizeof(u32))
> - return NULL;
> -
> - *thoff = nhoff + iph->ihl * sizeof(u32);
> - return iph;
> -}
> /* Defined in net/core/dev.c, enabled while any network namespace
> * has net.core.virtio_net_hdr_validate set to 0.
> */
> @@ -157,7 +131,7 @@ virtio_net_l4_start(struct sk_buff *skb, unsigned int nhoff, __be16 proto,
> unsigned int *thoff, int *ip_proto)
> {
> if (proto == htons(ETH_P_IP)) {
> - const struct iphdr *iph = virtio_net_ip4_parse(skb, nhoff, thoff);
> + const struct iphdr *iph = ip4_parse(skb, nhoff, thoff);
>
> if (!iph || ip_is_fragment(iph))
> return false;
> diff --git a/net/bridge/br_netfilter_hooks.c b/net/bridge/br_netfilter_hooks.c
> index 0a394e5f4391..e89da0e41542 100644
> --- a/net/bridge/br_netfilter_hooks.c
> +++ b/net/bridge/br_netfilter_hooks.c
> @@ -206,18 +206,13 @@ static inline void nf_bridge_pull_encap_header_rcsum(struct sk_buff *skb)
> static int br_validate_ipv4(struct net *net, struct sk_buff *skb)
> {
> const struct iphdr *iph;
> - u32 len;
> + u32 len, thoff;
>
> - if (!pskb_may_pull(skb, sizeof(struct iphdr)))
> + iph = ip4_parse(skb, 0, &thoff);
> + if (!iph)
> goto inhdr_error;
>
> - iph = ip_hdr(skb);
> -
> - /* Basic sanity checks */
> - if (iph->ihl < 5 || iph->version != 4)
> - goto inhdr_error;
> -
> - if (!pskb_may_pull(skb, iph->ihl*4))
> + if (!pskb_may_pull(skb, thoff))
> goto inhdr_error;
>
> iph = ip_hdr(skb);
> @@ -228,7 +223,7 @@ static int br_validate_ipv4(struct net *net, struct sk_buff *skb)
> if (skb->len < len) {
> __IP_INC_STATS(net, IPSTATS_MIB_INTRUNCATEDPKTS);
> goto drop;
> - } else if (len < (iph->ihl*4))
> + } else if (len < thoff)
> goto inhdr_error;
>
> if (pskb_trim_rcsum(skb, len)) {
> diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c
> index 9860178752b8..5adf01763e85 100644
> --- a/net/ipv4/ip_input.c
> +++ b/net/ipv4/ip_input.c
> @@ -500,7 +500,7 @@ static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net)
> {
> const struct iphdr *iph;
> int drop_reason;
> - u32 len;
> + u32 len, thoff;
>
> /* When the interface is in promisc. mode, drop all the crap
> * that it receives, do not try to analyse it.
> @@ -520,10 +520,6 @@ static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net)
> }
>
> drop_reason = SKB_DROP_REASON_NOT_SPECIFIED;
> - if (!pskb_may_pull(skb, sizeof(struct iphdr)))
> - goto inhdr_error;
> -
> - iph = ip_hdr(skb);
>
> /*
> * RFC1122: 3.2.1.2 MUST silently discard any IP frame that fails the checksum.
> @@ -536,7 +532,8 @@ static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net)
> * 4. Doesn't have a bogus length
> */
>
> - if (iph->ihl < 5 || iph->version != 4)
> + iph = ip4_parse(skb, 0, &thoff);
> + if (!iph)
> goto inhdr_error;
>
> BUILD_BUG_ON(IPSTATS_MIB_ECT1PKTS != IPSTATS_MIB_NOECTPKTS + INET_ECN_ECT_1);
> @@ -546,7 +543,7 @@ static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net)
> IPSTATS_MIB_NOECTPKTS + (iph->tos & INET_ECN_MASK),
> max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs));
>
> - if (!pskb_may_pull(skb, iph->ihl*4))
> + if (!pskb_may_pull(skb, thoff))
> goto inhdr_error;
>
> iph = ip_hdr(skb);
> @@ -559,7 +556,7 @@ static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net)
> drop_reason = SKB_DROP_REASON_PKT_TOO_SMALL;
> __IP_INC_STATS(net, IPSTATS_MIB_INTRUNCATEDPKTS);
> goto drop;
> - } else if (len < (iph->ihl*4))
> + } else if (len < thoff)
> goto inhdr_error;
>
> /* Our transport medium may have padded the buffer out. Now we know it
> diff --git a/net/ipv4/netfilter/nf_reject_ipv4.c b/net/ipv4/netfilter/nf_reject_ipv4.c
> index 59ec465a9df9..42d639854ddf 100644
> --- a/net/ipv4/netfilter/nf_reject_ipv4.c
> +++ b/net/ipv4/netfilter/nf_reject_ipv4.c
> @@ -25,22 +25,19 @@ nf_reject_ip_tcphdr_get(struct sk_buff *oldskb,
> static int nf_reject_iphdr_validate(struct sk_buff *skb)
> {
> struct iphdr *iph;
> - u32 len;
> + u32 len, thoff;
>
> - if (!pskb_may_pull(skb, sizeof(struct iphdr)))
> - return 0;
> -
> - iph = ip_hdr(skb);
> - if (iph->ihl < 5 || iph->version != 4)
> + iph = ip4_parse(skb, 0, &thoff);
> + if (!iph)
> return 0;
>
> len = ntohs(iph->tot_len);
> if (skb->len < len)
> return 0;
> - else if (len < (iph->ihl*4))
> + else if (len < thoff)
> return 0;
>
> - if (!pskb_may_pull(skb, iph->ihl*4))
> + if (!pskb_may_pull(skb, thoff))
> return 0;
>
> return 1;
> --
> MST
>
Technical Details
Message-ID:
<willemdebruijn.kernel.c4a4cd674948@gmail.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-350146-linux-kernel-netdev=dewy.ruReferences:
<be251d104f881a309cfef150455efa128ebb101d.1792565282.git.mst@redhat.com> <aa1551c0357a149a84d01761872cb4d3b489d1af.1792565282.git.mst@redhat.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-350146-linux-kernel-netdev=dewy.ru
From: willemdebruijn.kernel@gmail.com (Willem de Bruijn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v4 6/7] net: add ip4_parse()
Date: Wed, 21 Oct 2026 12:18:32 -0400
Organization: Usenet Network
Message-ID: <willemdebruijn.kernel.c4a4cd674948@gmail.com>
References: <be251d104f881a309cfef150455efa128ebb101d.1792565282.git.mst@redhat.com>
<aa1551c0357a149a84d01761872cb4d3b489d1af.1792565282.git.mst@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="8817"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:1xNEBDP/fUL/A0ATBgs5QHvXanE= sha256:K8ZEdzaPcTIW5GN79nFWjzZ+DrkubGud04KcsJThXTQ=
sha1:hxhOUEgzds1hPzpqDYwq0rAbzac= sha256:6dJ1WpriSkIvH5tvZhJ+T+1+Kbd6TgSaviesVAsEaho=
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 E4D6C1110A1; Wed, 21 Oct 2026 19:46:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.048
X-Spam-Status: No, score=-3.048 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, 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] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.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 pQaK9baIFGg1;
Wed, 21 Oct 2026 19:46:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-350146-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id A2E2611104D; Wed, 21 Oct 2026 19:46:09 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id 675173AC0B; Wed, 21 Oct 2026 16:22:27 +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=1792599516;
b=4eYe2tG275UcZVgX40aXvYmMS6OhsHlYXIa4LV9WP5UGYTM0ABfIK/QHZYXfDUsScBaW
ihLrTYNsBSINhbQ6mGCsQguYRLfAjDKbr8WjAH5aGj/4hT0ERi8U+ssv/PZsyl8Socz3l
Rac4gqssbNP042e42+GjbQAxmt1YXz9oC7KqJ6kBQDLDuTCvjUAsW4uWGMkF0nY+oXqyG
zI4DP5NfJtEpn9mXNoLXbFU2qlxzDNcUwrExHkUAMqFBUjXrreHTLrJmF0ouBE1FVJQQD
Fau3f2vB935KHPznLJ/7TJ1KOSe9r8c5t2HtxgZAgNnr00XHUCwEhxrmUUZ9Bg1iJ7A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792599516;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:Date:From:To:Cc:Message-ID:In-Reply-To:
References:Subject:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Type:Content-Transfer-Encoding;
bh=UrbNAcrvvqBJ2+CGBxSM/krMHIMJIRsTQjY9f7twsUM=;
b=yoYYfiG5oRWQTAXybsEJvwpIcqFRrM00RHGerxlNDZldBYidZPAkoHT379t5adQdHPW8
80LCsnB423vce6YnlXn4grUQo8nkEKbXAXi6SP5vUqzt36aVWMry+VqV7fuzu0FKMzXbA
awVhYD06swWzGWrmW2tafvY398Ln3MHI0UhecKBhVOJMeTXPxAjIPDfsOMJgVr6kMpfSe
SsnXaQYj0kMzuzX3/Imm0CyYlkF/Y6w8vDcUPOdrsrtBD1SXfo8d9bxEOxFUNt9tkfaoI
CHD3q1PjZr0e/BQxN3A9KbLsInjeqMyG8ShSBzUaWpYhJpun43GjP2TO3vvx6tqt2YQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=JryTpxW9;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.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 563A0606BF34;
Wed, 21 Oct 2026 16:18:36 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=JryTpxW9
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.42
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792599515;
b=0dCIwZgHjhCFsFXaDaea7i087BwM5Qa+E/b66P6ymy1cqN5/HitHnDFRiAdOxxdn5Xq3
9VZS1avBmcTfI8cFxXtqs3fYFdE0xECIJAonYi0kFacrOtQDIJ5a1nYMpjzXSSsGuPqON
a7VToLz6FOvlkHUwC7ocFe6xec3yxG9TVdnIkpwLDhxdc0nGhUxLjrsLieevKNcnRBMq2
qqANd2qMUcXAphB97SV8RetE/TFNXqeFu+XjhMHqhjuB8/lOMlW/3mZF4e56gWytefHB9
BlJ/5EiZcWtSiGS39BMNTU2+PVR80TAlbWqVbk2RvjxPnDfd6xS584XMQtLjqkXJfGQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792599515;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:
MIME-Version:Content-Type:Content-Transfer-Encoding;
bh=UrbNAcrvvqBJ2+CGBxSM/krMHIMJIRsTQjY9f7twsUM=;
b=31OJ0Vp6zRmwGM0YmobqTNbZwpaXidBzXu6nx5f4B7EV1kLGXzekmuKtSqmQQfIHOjdm
QGl65aoLYJ6Udnze231cqONqTOuvnbrkSSSSYT8CynuphuQGDuJ99MVgjaf8ZdJXGMDT/
haCjWDIZcAltxXcYml7QFc59A15dfHBu7lDDYU9SwBDYhouQvYuKlWe337/Sk/xc9Ir0b
zAFBOVQVYlTH/ac2oc2plkU3AzxtyXuI46kHHZi574W0op51GLx9OtVoNMFtzdJFMwLK0
rhxqPZklKTS+LYE3uR6ASMgzQ7Y4LWrvqBXwvhp9PJ3zx07fr7+tHEcWS1XG/m1DuWA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=JryTpxW9;
arc=none smtp.remote-ip=209.85.222.42
X-Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65F89606BF2F
for <netdev@vger.kernel.org>; Wed, 21 Oct 2026 16:18:34 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 65F89606BF2F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-ua1-f42.google.com with SMTP id a1e0cc1a2514c-97622cc1f40so700218241.3
for <netdev@vger.kernel.org>; Wed, 21 Oct 2026 09:18:34 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792599513; x=1793204313; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:mime-version:subject
:references:in-reply-to:message-id:cc:to:from:date:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=UrbNAcrvvqBJ2+CGBxSM/krMHIMJIRsTQjY9f7twsUM=;
b=JryTpxW9sA3qgDc6w0OI4sgjqiV1VJqlQCAAH2NLz1aeF7tdSyLCIHbXYSjqHwIKRu
Aro3upjhu0Vwe24oYk+djjQ17zEu2D9zfbGNJa9OsEoe1ljXVZExNF0GW7ogav1wXBLP
jKUBtCOxgvy7fWWO+kSrJoVmmLchOqtMxf33gDDpTEhTw0fZo4A7db+su2GLOtnsMf9L
2XhJjwbzmBSUrykW3CXhhciDKT/NR8wZRTfu+XykGIesrxGF8OLKewg47aI22Ga6f399
Y1mGwr93UvKKvMU4T8g987HNB+eoNnKihh7mtSV9H2VdLJhytvi4W2+0HZKwrjPFcXTX
jRTA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792599513; x=1793204313;
h=content-transfer-encoding:content-type:mime-version:subject
:references:in-reply-to:message-id:cc:to:from:date:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=UrbNAcrvvqBJ2+CGBxSM/krMHIMJIRsTQjY9f7twsUM=;
b=TsJb7hpfZLkgbi2bjtbZDXuCa37Kym/fXGBA5K4MnWkrly0r6fbckQUW3TLQ137CYn
CxemJOapR6PUWqz8VzM8aevzGAryX+UK1ocTpdkXAk/ivN/kR+hL1tnMtHnfXbjhRUqG
l5dRMxF4ljgh896JmfZVA35M52Mor+TTEDlZ5t/9/HflhmopqPR+s3eHYsYYiN1uOp0H
eR3Dg8MNd3a3IeGOwknturlX7nV8WQft6pIljS4HWpncdSKZhpAl80Y6h8mv/AcFTVPT
ehjP2x+rK+05mnGaS7xFSDREySwAs0hZJADiw0uMpl7dP27WsxOVikbOhIBEiANrCifB
kR1A==
X-Forwarded-Encrypted: i=1; AKwUvBymd47o0Uo6d2gWJmXTFi4MOt7gM52cA293tSdwo1db1lf+lMrT/yd/+7STAw3vv6On/l/HYD8=@vger.kernel.org
X-Gm-Message-State: AFq9FYIlhUa5XdoNButgLYLK9sjqLk+T6St2LJePJd9euaVnUHJPq7vZ
y+DEBdccAxyQpmEg4jhANiyMX/nYVPYlXqsSCGCHlQbCViAk8p7/cGfj
X-Gm-Gg: AYBFou2fD474Zakvf/l3fvretQhOv7pul4kRYQrb9FXY0S1RDcfN3BEcIwK5z7wWWkN
XumI9VnpPztoqEta3vBuWtWzGqzCVd9tvuKdtqDEq5y20rpttG8lxpjQB6J4wAt2HiLmaj1g73O
cvzJF+xZ9Qp8yRbmWKYJLEO72aKoXtN9Bs7sKcn4I2fqIwgk5JOtO9De/aWjrCsk1BNPRfnbdY8
UPFpXMiKGRThaBTYP7xt8UVMH65S8iZIzrtLrEEBU1bMcuPKKek81Mtz+YH3YhwDPy7D9nv1PaO
oyspBCq2VcyC5dg/3Eq3tBpe3Liq9gWIdsL2FgP52mcpQitty6r6U4fljBdlzO61al+LbcOtFvE
zlcHfVJPcjEd1EArDdLdJiLfXXELbZfrs+GgeW9KZrzcCT24PTQivCB7MjuGXocyrDsH0eczWY5
SLX0N6QYn/AMVgtvaKRw/oKJUz5TRm2CRA08GKMuutNWJLRGUmYS6aKSqKTeQXJGJOMzghhZAxv
UJMMl11f+gOZtBuWiAGIRuVCmN/mAI4IU7Zx+h6uHcoPNBzYgN/2taS0NKYD34JNF6Zd1laIRPd
hY1OgpznfcscLlJHQ0TsBkgTuSNUO/W3RN1vqIfmLGuP4vMxLRkKWsEIahLvct1KFPbyRTcbv0F
Vy/hiefQWc/rUQaqOZRdQuRS3e3aFvBmt17zz0gtI
X-Received: by 2002:a05:6102:3e8b:b0:79e:2b00:b4da with SMTP id ada2fe7eead31-7cc9263e66bmr1074589137.6.1792599513253;
Wed, 21 Oct 2026 09:18:33 -0700 (PDT)
X-Received: from gmail.com (111.46.245.35.bc.googleusercontent.com. [35.245.46.111])
by smtp.gmail.com with ESMTPSA id ada2fe7eead31-7cc9236f63csm3160917137.5.2026.10.21.09.18.32
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 21 Oct 2026 09:18:32 -0700 (PDT)
X-Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>,
Chris Arges <carges@cloudflare.com>,
Björn Töpel <bjorn@kernel.org>,
Phil Sutter <phil@nwl.cc>,
Jason Wang <jasowangio@gmail.com>,
Eugenio Pérez <eperezma@redhat.com>,
Xuan Zhuo <xuanzhuo@linux.alibaba.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
netdev@vger.kernel.org,
virtualization@lists.linux.dev,
Max Krasnyansky <maxk@qualcomm.com>,
Rusty Russell <rusty@rustcorp.com.au>,
Pablo Neira Ayuso <pablo@netfilter.org>,
Florian Westphal <fw@strlen.de>,
Nikolay Aleksandrov <razor@blackwall.org>,
Ido Schimmel <idosch@nvidia.com>,
Simon Horman <horms@kernel.org>,
David Ahern <dsahern@kernel.org>,
netfilter-devel@vger.kernel.org,
coreteam@netfilter.org,
bridge@lists.linux.dev
X-In-Reply-To: <aa1551c0357a149a84d01761872cb4d3b489d1af.1792565282.git.mst@redhat.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