mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

delete target/linux/generic/backport-6.6/600-v6.9-01-net-gro-parse-ipv6-ext-headers-without-frag0-invalid.patch delete target/linux/generic/backport-6.6/600-v6.9-02-net-gro-fix-udp-bad-offset-in-socket-lookup-by-addin.patch delete target/linux/generic/backport-6.6/600-v6.9-03-net-gro-add-flush-check-in-udp_gro_receive_segment.patch delete target/linux/generic/backport-6.6/816-v6.7-0002-nvmem-add-explicit-config-option-to-read-old-syntax-.patch delete target/linux/generic/pending-6.6/681-net-bridge-fix-multicast-to-unicast-with-fraglist-GS.patch delete target/linux/generic/pending-6.6/682-net-core-reject-skb_copy-_expand-for-fraglist-GSO-sk.patch delete target/linux/generic/pending-6.6/684-net-bridge-fix-corrupted-ethernet-header-on-multicas.patch
32 lines
929 B
Diff
32 lines
929 B
Diff
From 4a44a52f16ccd3d03e0cb5fb437a5eb31a5f9f05 Mon Sep 17 00:00:00 2001
|
|
From: David Bauer <mail@david-bauer.net>
|
|
Date: Mon, 26 Feb 2024 21:39:34 +0100
|
|
Subject: [PATCH] net l2tp: drop flow hash on forward
|
|
|
|
Drop the flow-hash of the skb when forwarding to the L2TP netdev.
|
|
|
|
This avoids the L2TP qdisc from using the flow-hash from the outer
|
|
packet, which is identical for every flow within the tunnel.
|
|
|
|
This does not affect every platform but is specific for the ethernet
|
|
driver. It depends on the platform including L4 information in the
|
|
flow-hash.
|
|
|
|
Signed-off-by: David Bauer <mail@david-bauer.net>
|
|
---
|
|
net/l2tp/l2tp_eth.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- a/net/l2tp/l2tp_eth.c
|
|
+++ b/net/l2tp/l2tp_eth.c
|
|
@@ -139,6 +139,9 @@ static void l2tp_eth_dev_recv(struct l2t
|
|
/* drop outer flow-hash */
|
|
skb_clear_hash(skb);
|
|
|
|
+ /* drop outer flow-hash */
|
|
+ skb_clear_hash(skb);
|
|
+
|
|
skb_dst_drop(skb);
|
|
nf_reset_ct(skb);
|
|
|