Commit 3ae95999 authored by Felix Fietkau's avatar Felix Fietkau Committed by Carlos Llamas
Browse files

UPSTREAM: net: fix dev_fill_forward_path with pppoe + bridge



[ Upstream commit cf2df74e ]

When calling dev_fill_forward_path on a pppoe device, the provided destination
address is invalid. In order for the bridge fdb lookup to succeed, the pppoe
code needs to update ctx->daddr to the correct value.
Fix this by storing the address inside struct net_device_path_ctx

Fixes: f6efc675 ("net: ppp: resolve forwarding path for bridge pppoe devices")
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit f96b2e06)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I08f671d1cf16862b024fc940c45c6887ac8cdd2c
parent 75cd9836
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment