projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4e61c
)
netfilter: nf_nat: add missing nla_policy entry for CTA_NAT_PROTO attribute
author
Patrick McHardy
<kaber@trash.net>
Fri, 23 Dec 2011 13:00:30 +0000
(14:00 +0100)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Fri, 23 Dec 2011 13:36:44 +0000
(14:36 +0100)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nf_nat_core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/netfilter/nf_nat_core.c
b/net/ipv4/netfilter/nf_nat_core.c
index 76600f8d434b31351964a6fcdb9a6f84eaec4de9..610eb4499a1ac62ae471c4cc65691dc53c63d1a8 100644
(file)
--- a/
net/ipv4/netfilter/nf_nat_core.c
+++ b/
net/ipv4/netfilter/nf_nat_core.c
@@
-622,6
+622,7
@@
static int nfnetlink_parse_nat_proto(struct nlattr *attr,
static const struct nla_policy nat_nla_policy[CTA_NAT_MAX+1] = {
[CTA_NAT_MINIP] = { .type = NLA_U32 },
[CTA_NAT_MAXIP] = { .type = NLA_U32 },
+ [CTA_NAT_PROTO] = { .type = NLA_NESTED },
};
static int