]> git.itanic.dy.fi Git - linux-stable/commit
netfilter: nft_flow_offload: skip dst neigh lookup for ppp devices
authorFelix Fietkau <nbd@nbd.name>
Mon, 9 May 2022 12:26:14 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 May 2022 07:57:31 +0000 (09:57 +0200)
commit7613dcaceee281973145588f4244f2f78ef85b7f
tree191d6f4ddc2a336ac6ea2270db512dc2ca38ba5a
parent5f4197a020c049a59ea7907c31f9ab037dcefefe
netfilter: nft_flow_offload: skip dst neigh lookup for ppp devices

[ Upstream commit 45ca3e61999e9a30ca2b7cfbf9da8a9f8d13be31 ]

The dst entry does not contain a valid hardware address, so skip the lookup
in order to avoid running into errors here.
The proper hardware address is filled in from nft_dev_path_info

Fixes: 72efd585f714 ("netfilter: flowtable: add pppoe support")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nft_flow_offload.c