]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_flow_table: detach routing information from flow description
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 11 Nov 2019 23:29:54 +0000 (00:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Nov 2019 03:42:26 +0000 (19:42 -0800)
commite8b0cfa39fc99d7070ec81c9aeec94cf35e1e82d
tree975cba24c002cdaf74c3c01e76a1c479f39b9edb
parent7408c22dfa98d2e4a727ff9b4ad6b3ab737efb2f
netfilter: nf_flow_table: detach routing information from flow description

This patch adds the infrastructure to support for flow entry types.
The initial type is NF_FLOW_OFFLOAD_ROUTE that stores the routing
information into the flow entry to define a fastpath for the classic
forwarding path.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_flow_table.h
net/netfilter/nf_flow_table_core.c
net/netfilter/nft_flow_offload.c