]> git.baikalelectronics.ru Git - kernel.git/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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 May 2022 10:58:55 +0000 (12:58 +0200)
commit997d246c960f87336d83063b7189b53abc4d9736
tree724c2d64312b23a30e4e96f4c8b0acd30df8ef11
parent909dc495f3b2f989a652022a78fbb5ef313a0652
netfilter: nft_flow_offload: skip dst neigh lookup for ppp devices

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: 83061518236c ("netfilter: flowtable: add pppoe support")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_flow_offload.c