net l2tp: drop flow hash on forward
authorDavid Bauer <mail@david-bauer.net>
Wed, 24 Apr 2024 17:11:10 +0000 (19:11 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 26 Apr 2024 11:48:24 +0000 (13:48 +0200)
commit42f853b42899d9b445763b55c3c8adc72be0f0e1
tree86306a135594fbe76f93fa8599fb65d8ca70a14d
parent4b911a9690d72641879ea6d13cce1de31d346d79
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.

One such example is the Mediatek Filogic MT798x family of networking
processors.

Fixes: d9e31d17ceba ("l2tp: Add L2TP ethernet pseudowire support")
Acked-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David Bauer <mail@david-bauer.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240424171110.13701-1-mail@david-bauer.net
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/l2tp/l2tp_eth.c