]> git.hungrycats.org Git - linux/commit
netfilter: flowtable: simplify route logic
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 May 2023 05:35:33 +0000 (07:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:26:37 +0000 (13:26 +0100)
commit9c5662e95a8dcc232c3ef4deb21033badcd260f6
tree6f989b1702bdc011785a4bb0a3b6fcc370667d87
parent0c9302a6da262e6ab6a6c1d30f04a6130ed97376
netfilter: flowtable: simplify route logic

[ Upstream commit fa502c86566680ac62bc28ec883a069bf7a2aa5e ]

Grab reference to dst from skbuff earlier to simplify route caching.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Stable-dep-of: 9e0f0430389b ("netfilter: nft_flow_offload: reset dst in route object after setting up flow")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/netfilter/nf_flow_table.h
net/netfilter/nf_flow_table_core.c
net/netfilter/nft_flow_offload.c