netfilter: flowtable: nft_flow_route use more data for reverse route
authorSven Auhagen <Sven.Auhagen@voleatech.de>
Wed, 27 Apr 2022 07:15:15 +0000 (09:15 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 May 2022 16:56:28 +0000 (18:56 +0200)
commit3412e16418286bdc12561827cbd22f94cb8af5e1
treeb3a65b1f51e3dfeffbd5b0eb374e7111c6e7a036
parent8edc813111001e9be3cce066d3d4091d2ef04a1d
netfilter: flowtable: nft_flow_route use more data for reverse route

When creating a flow table entry, the reverse route is looked
up based on the current packet.
There can be scenarios where the user creates a custom ip rule
to route the traffic differently.
In order to support those scenarios, the lookup needs to add
more information based on the current packet.
The patch adds multiple new information to the route lookup.

Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_flow_offload.c