diff options
| author | Daniel Borkmann <[email protected]> | 2025-02-25 21:29:27 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-28 00:53:05 +0000 |
| commit | 047e059cf21210f633bb538799107af10650a9c7 (patch) | |
| tree | ebf60a270de2ec9c02ab0eee12620adfb1bdcce6 /drivers/net/netkit.c | |
| parent | net: qed: make 'qed_ll2_ops_pass' as __maybe_unused (diff) | |
| download | kernel-047e059cf21210f633bb538799107af10650a9c7.tar.gz kernel-047e059cf21210f633bb538799107af10650a9c7.zip | |
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 <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/netkit.c')
| -rw-r--r-- | drivers/net/netkit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/netkit.c b/drivers/net/netkit.c index 751347392570..d072a7968f56 100644 --- a/drivers/net/netkit.c +++ b/drivers/net/netkit.c @@ -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); |
