]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_objref: support for stateful object maps
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 27 Nov 2016 23:06:03 +0000 (00:06 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 7 Dec 2016 12:22:48 +0000 (13:22 +0100)
commit7cf2bd61114d8ba07470977c52368c65ce06e82d
treeaaae3dc63921e12bdbf2978aebb5e0739ff615f8
parent0c6b7ebe37826d06b12204cd5154178fb5fa1283
netfilter: nft_objref: support for stateful object maps

This patch allows us to refer to stateful object dictionaries, the
source register indicates the key data to be used to look up for the
corresponding state object. We can refer to these maps through names or,
alternatively, the map transaction id. This allows us to refer to both
anonymous and named maps.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_objref.c