]> 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)
commitcaef8810c0ec835edf68b2e71d6582831f253d56
treeaaae3dc63921e12bdbf2978aebb5e0739ff615f8
parentb8103279a36aa099fbdf2ed76989f1a4f4335481
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