diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-03-24 02:30:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-24 12:48:39 -0700 |
commit | 5139c0c007250c01c61337d584db4072c4786bf6 (patch) | |
tree | 80d01592f8ad704f19df3c297a05d6aca9f617a2 /net/netfilter/nf_flow_table_core.c | |
parent | net: dsa: resolve forwarding path for dsa slave ports (diff) | |
download | linux-dev-5139c0c007250c01c61337d584db4072c4786bf6.tar.xz linux-dev-5139c0c007250c01c61337d584db4072c4786bf6.zip |
netfilter: flowtable: add xmit path types
Add the xmit_type field that defines the two supported xmit paths in the
flowtable data plane, which are the neighbour and the xfrm xmit paths.
This patch prepares for new flowtable xmit path types to come.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_flow_table_core.c')
-rw-r--r-- | net/netfilter/nf_flow_table_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_flow_table_core.c b/net/netfilter/nf_flow_table_core.c index 8ffd3f3c288c..573be4d1efb5 100644 --- a/net/netfilter/nf_flow_table_core.c +++ b/net/netfilter/nf_flow_table_core.c @@ -95,6 +95,7 @@ static int flow_offload_fill_route(struct flow_offload *flow, } flow_tuple->iifidx = other_dst->dev->ifindex; + flow_tuple->xmit_type = route->tuple[dir].xmit_type; flow_tuple->dst_cache = dst; return 0; |