projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96307a0
)
netfilter: exthdr: add missign attributes to policy
author
Florian Westphal
<fw@strlen.de>
Mon, 11 Dec 2017 09:14:27 +0000
(10:14 +0100)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Mon, 11 Dec 2017 12:46:04 +0000
(13:46 +0100)
Add missing netlink attribute policy.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_exthdr.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nft_exthdr.c
b/net/netfilter/nft_exthdr.c
index a0a93d987a3bd440dc19bafe9e65b023c6baf217..47ec1046ad11536e337f709d1f41a267a77cf1d3 100644
(file)
--- 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,