netkit: Remove double invocation to clear ipvs property flag
Daniel Borkmann
maintainerPATCH 1/1 netkit: Remove double invocation to clear ipvs property flag
With ipvs_reset() now done unconditionally in skb_scrub_packet() we would then call the former twice netkit_prep_forward(). Thus remove the now unnecessary explicit call.
---
[ Sending to net since de2c211868b9 is in net ]
drivers/net/netkit.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/netkit.c +0 -1
@@ -65,7 +65,6 @@ static void netkit_prep_forward(struct sk_buff *skb,skb_reset_mac_header (skb);if (!xnet)return ; -ipvs_reset (skb);skb_clear_tstamp (skb);if (xnet_scrub)netkit_xnet (skb);
Signature · 1 line
2.43.0
Quoted 20 lines · Daniel Borkmann
With
ipvs_reset()now done unconditionally inskb_scrub_packet()we would then call the former twicenetkit_prep_forward(). Thus remove the now unnecessary explicit call.Fixes de2c211868b9 ("ipvs: Always clear ipvs_property flag in skb_scrub_packet()")Signed-off-by Daniel Borkmann <[email protected]>Cc Philo Lu <[email protected]>Cc Nikolay Aleksandrov <[email protected]>Cc Martin KaFai Lau <[email protected]>---
[ Sending to net sincede2c211868b9is in net ]drivers/net/netkit.c | 1 - 1 file changed, 1 deletion(-)drivers/net/netkit.c +0
-0
drivers/net/netkit.c static void netkit_prep_forward(struct sk_buff *skb, · line 70
Quoted 7 lines
drivers/net/netkit.c +0
-1@@ -65,7 +65,6 @@ static void netkit_prep_forward(struct sk_buff *skb,skb_reset_mac_header (skb);if (!xnet)return ; -ipvs_reset (skb);skb_clear_tstamp (skb);if (xnet_scrub)netkit_xnet (skb);
Jakub Kicinski
maintainerQuoted 11 lines · On Tue, 25 Feb 2025 22:29:27 +0100 Daniel Borkmann wrote:
With
ipvs_reset()now done unconditionally inskb_scrub_packet()we would then call the former twicenetkit_prep_forward(). Thus remove the now unnecessary explicit call.Fixes de2c211868b9 ("ipvs: Always clear ipvs_property flag in skb_scrub_packet()")Signed-off-by Daniel Borkmann <[email protected]>Cc Philo Lu <[email protected]>Cc Nikolay Aleksandrov <[email protected]>Cc Martin KaFai Lau <[email protected]>---
[ Sending to net sincede2c211868b9is in net ]
I see. But if that's okay with you we'll apply it to net-next tomorrow, once the trees converge?
Daniel Borkmann
maintainerQuoted 13 lines · Jakub Kicinski
Quoted 11 lines · On Tue, 25 Feb 2025 22:29:27 +0100 Daniel Borkmann wrote:
With
ipvs_reset()now done unconditionally inskb_scrub_packet()we would then call the former twicenetkit_prep_forward(). Thus remove the now unnecessary explicit call.Fixes de2c211868b9 ("ipvs: Always clear ipvs_property flag in skb_scrub_packet()")Signed-off-by Daniel Borkmann <[email protected]>Cc Philo Lu <[email protected]>Cc Nikolay Aleksandrov <[email protected]>Cc Martin KaFai Lau <[email protected]>---
[ Sending to net sincede2c211868b9is in net ]
Quoted 2 lines
I see. But if that's okay with you we'll apply it to net-next tomorrow, once the trees converge?
Yes, that's totally fine, too. Thanks!
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 11 lines · On Tue, 25 Feb 2025 22:29:27 +0100 you wrote:
With
ipvs_reset()now done unconditionally inskb_scrub_packet()we would then call the former twicenetkit_prep_forward(). Thus remove the now unnecessary explicit call.Fixes de2c211868b9 ("ipvs: Always clear ipvs_property flag in skb_scrub_packet()")Signed-off-by Daniel Borkmann <[email protected]>Cc Philo Lu <[email protected]>Cc Nikolay Aleksandrov <[email protected]>Cc Martin KaFai Lau <[email protected]>[...]
Here is the summary with links:
- [net] netkit: Remove double invocation to clear ipvs property flag
https://git.kernel.org/netdev/net-next/c/047e059cf212
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html