diff options
author | Florian Westphal <fw@strlen.de> | 2017-12-11 10:14:27 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-12-11 13:46:04 +0100 |
commit | f5b5702ac55b11113a94d6228d191c7f827b7a3b (patch) | |
tree | b224892a3ec1d88a5528e5a0a6ca847f45209c50 /net | |
parent | netfilter: ipt_CLUSTERIP: fix clusterip_net_exit build regression (diff) | |
download | linux-f5b5702ac55b11113a94d6228d191c7f827b7a3b.tar.xz linux-f5b5702ac55b11113a94d6228d191c7f827b7a3b.zip |
netfilter: exthdr: add missign attributes to policy
Add missing netlink attribute policy.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nft_exthdr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/nft_exthdr.c b/net/netfilter/nft_exthdr.c index a0a93d987a3b..47ec1046ad11 100644 --- a/net/netfilter/nft_exthdr.c +++ b/net/netfilter/nft_exthdr.c @@ -214,6 +214,8 @@ static const struct nla_policy nft_exthdr_policy[NFTA_EXTHDR_MAX + 1] = { [NFTA_EXTHDR_OFFSET] = { .type = NLA_U32 }, [NFTA_EXTHDR_LEN] = { .type = NLA_U32 }, [NFTA_EXTHDR_FLAGS] = { .type = NLA_U32 }, + [NFTA_EXTHDR_OP] = { .type = NLA_U32 }, + [NFTA_EXTHDR_SREG] = { .type = NLA_U32 }, }; static int nft_exthdr_init(const struct nft_ctx *ctx, |