netkit: Remove double invocation to clear ipvs property flag
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 25 Feb 2025 21:29:27 +0000 (22:29 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 Feb 2025 00:53:05 +0000 (16:53 -0800)
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.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20250225212927.69271-1-daniel@iogearbox.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/netkit.c

index 751347392570ea87397e6305f1d2f2a02265d206..d072a7968f567ff8620455f5ef240daa8496a93e 100644 (file)
@@ -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);