mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2025-04-19 20:58:31 +09:00
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. 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>
This commit is contained in:
parent
f8131f4cc5
commit
047e059cf2
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user