]> asedeno.scripts.mit.edu Git - linux.git/commit
netfilter: nf_tables: make valid_genid callback mandatory
authorFlorian Westphal <fw@strlen.de>
Wed, 11 Jul 2018 11:45:11 +0000 (13:45 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 18 Jul 2018 09:26:45 +0000 (11:26 +0200)
commitca2f18be792fddd0db2bbf6cbe1ec12d1bb32dd7
tree706fd92db3b395541a5c2d8d6b4c8aa7db846723
parent452238e8d5ffd8b77f92387519513839d4ca7379
netfilter: nf_tables: make valid_genid callback mandatory

always call this function, followup patch can use this to
aquire a per-netns transaction log to guard the entire batch
instead of using the nfnl susbsys mutex (which is shared among all
namespaces).

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c
net/netfilter/nfnetlink.c