diff options
author | Florian Westphal <fw@strlen.de> | 2018-08-02 22:44:40 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-16 20:37:02 +0300 |
commit | d209df3e7f7002d9099fdb0f6df0f972b4386a63 (patch) | |
tree | b2ded0dc8be12f0048188bbf2b0a80f01fbb353a /fs/dcookies.c | |
parent | 3e673b23b541b8e7f773b2d378d6eb99831741cd (diff) | |
download | linux-d209df3e7f7002d9099fdb0f6df0f972b4386a63.tar.xz |
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>
Diffstat (limited to 'fs/dcookies.c')
0 files changed, 0 insertions, 0 deletions