]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: handle meta/lookup with direct call
authorFlorian Westphal <fw@strlen.de>
Wed, 4 Jul 2018 10:48:04 +0000 (12:48 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Jul 2018 09:52:02 +0000 (11:52 +0200)
commitd39e6f72de0b43ceac5c8102537288a2759d7b51
tree38cd3a76fc7b67cfec8e6d2edd684cfa6d54439f
parentc865b4b5ea7b98defa2b19f552b4b9e4332266db
netfilter: nf_tables: handle meta/lookup with direct call

Currently nft uses inlined variants for common operations
such as 'ip saddr 1.2.3.4' instead of an indirect call.

Also handle meta get operations and lookups without indirect call,
both are builtin.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables_core.h
net/netfilter/nf_tables_core.c
net/netfilter/nft_lookup.c
net/netfilter/nft_meta.c