]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7b4cb63ee79761a596742ad2e303d5991e1931e
treeb3a65b1f51e3dfeffbd5b0eb374e7111c6e7a036
parente93b052c970ab47d535ffcc44c9d8ed1c5145f9c
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