[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162464520336.18713.1117702842915043978.git-patchwork-notify@kernel.org>
Date: Fri, 25 Jun 2021 18:20:03 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net] dev_forward_skb: do not scrub skb mark within the same
name space
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 24 Jun 2021 10:05:05 +0200 you wrote:
> The goal is to keep the mark during a bpf_redirect(), like it is done for
> legacy encapsulation / decapsulation, when there is no x-netns.
> This was initially done in commit 213dd74aee76 ("skbuff: Do not scrub skb
> mark within the same name space").
>
> When the call to skb_scrub_packet() was added in dev_forward_skb() (commit
> 8b27f27797ca ("skb: allow skb_scrub_packet() to be used by tunnels")), the
> second argument (xnet) was set to true to force a call to skb_orphan(). At
> this time, the mark was always cleanned up by skb_scrub_packet(), whatever
> xnet value was.
> This call to skb_orphan() was removed later in commit
> 9c4c325252c5 ("skbuff: preserve sock reference when scrubbing the skb.").
> But this 'true' stayed here without any real reason.
>
> [...]
Here is the summary with links:
- [net] dev_forward_skb: do not scrub skb mark within the same name space
https://git.kernel.org/netdev/net/c/ff70202b2d1a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists