netfilter: exthdr: add missign attributes to policy
Subsystems (2)
Florian Westphal
maintainerPATCH 1/1 netfilter: exthdr: add missign attributes to policy
Signed-off-by Florian Westphal <[email protected]>
--- net/netfilter/nft_exthdr.c | 2 ++ 1 file changed, 2 insertions(+)
net/netfilter/nft_exthdr.c +2 -0
@@ -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,
Signature · 1 line
2.13.6
Applied, thanks.