Skip to contentSkip to conversation

netfilter: exthdr: add missign attributes to policy

PATCH Applied Florian Westphal 2 participants 2 messages Dec 11, 2017

Subsystems (2)
lore
Share & tools
lore

Florian Westphal

author maintainer
#0 lore raw

PATCH 1/1 netfilter: exthdr: add missign attributes to policy

---
 net/netfilter/nft_exthdr.c | 2 ++
 1 file changed, 2 insertions(+)
net/netfilter/nft_exthdr.c +2 -0
index a0a93d987a3b..47ec1046ad11 100644
@@ -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