mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 23:14:31 +08:00
netfilter: nf_tables: set flowtable priority and hooknum field
Otherwise netlink dump sends uninitialized fields to userspace. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
4c87158dae
commit
0e839dfaf1
@ -4946,6 +4946,8 @@ static int nf_tables_flowtable_parse_hook(const struct nft_ctx *ctx,
|
||||
goto err1;
|
||||
}
|
||||
|
||||
flowtable->hooknum = hooknum;
|
||||
flowtable->priority = priority;
|
||||
flowtable->ops = ops;
|
||||
flowtable->ops_len = n;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user