commit | d209df3e7f7002d9099fdb0f6df0f972b4386a63 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Thu Aug 02 21:44:40 2018 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Aug 16 19:37:02 2018 +0200 |
tree | b2ded0dc8be12f0048188bbf2b0a80f01fbb353a | |
parent | 3e673b23b541b8e7f773b2d378d6eb99831741cd [diff] |
netfilter: nf_tables: fix register ordering We must register nfnetlink ops last, as that exposes nf_tables to userspace. Without this, we could theoretically get nfnetlink request before net->nft state has been initialized. Fixes: 99633ab29b213 ("netfilter: nf_tables: complete net namespace support") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>