From: Juan Agustin Niccolini <juanagusnicco@gmail.com>
To: Kyuwon Cho <kyuwon.cho@skku.edu>
Cc: Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Eric Dumazet <edumazet@kernel.org>,
"David S . Miller" <davem@davemloft.net>,
Andrew Lunn <andrew+netdev@lunn.ch>,
Pablo Neira Ayuso <pablo@netfilter.org>,
Florian Westphal <fw@strlen.de>,
netdev@vger.kernel.org
Subject: Re: [PATCH net] macvlan: drop the conntrack entry of broadcast clones
Date: Thu, 3 Dec 2026 01:44:23 -0500 [thread overview]
Message-ID: <20261203064423.77562-1-juanagusnicco@gmail.com> (raw)
In-Reply-To: <179607207068.562302.5326868635249894085@skku.edu>
On Tue, 1 Dec 2026 17:04:20 +0900, Kyuwon Cho wrote:
> --- a/drivers/net/macvlan.c
> +++ b/drivers/net/macvlan.c
> @@ -237,6 +237,7 @@ static int macvlan_broadcast_one(struct sk_buff *skb,
> if (local)
> return __dev_forward_skb(dev, skb);
>
> + nf_reset_ct(skb);
> skb->dev = dev;
> if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast))
> skb->pkt_type = PACKET_BROADCAST;
I reviewed and tested this patch, and it is correct for the case it
aims to fix.
While reviewing it I found two other places that deliver clones which
keep the original's unconfirmed entry, macvlan source mode and macsec,
and sent patches for both:
https://lore.kernel.org/netdev/20261203063745.75353-1-juanagusnicco@gmail.com/
Reviewed-by: Juan Agustin Niccolini <juanagusnicco@gmail.com>
Tested-by: Juan Agustin Niccolini <juanagusnicco@gmail.com>
prev parent reply other threads:[~2026-12-03 6:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 8:04 [PATCH net] macvlan: drop the conntrack entry of broadcast clones Kyuwon Cho
2026-12-03 6:44 ` Juan Agustin Niccolini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203064423.77562-1-juanagusnicco@gmail.com \
--to=juanagusnicco@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=fw@strlen.de \
--cc=kuba@kernel.org \
--cc=kyuwon.cho@skku.edu \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox