diff options
author | Florian Westphal <fw@strlen.de> | 2012-11-22 01:32:46 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-12-03 15:13:10 +0100 |
commit | 6d1fafcaecaa2e66eb9861a39d22fc7380ce6f78 (patch) | |
tree | 69b8cb0fa22a5dc46a16ab59ebf5a65af5f99b6b /net/netfilter/nf_conntrack_proto_tcp.c | |
parent | 0360ae412d09bc6f4864c801effcb20bfd84520e (diff) | |
download | linux-stable-6d1fafcaecaa2e66eb9861a39d22fc7380ce6f78.tar.gz linux-stable-6d1fafcaecaa2e66eb9861a39d22fc7380ce6f78.tar.bz2 linux-stable-6d1fafcaecaa2e66eb9861a39d22fc7380ce6f78.zip |
netfilter: ctnetlink: nla_policy updates
Add stricter checking for a few attributes.
Note that these changes don't fix any bug in the current code base.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_proto_tcp.c')
-rw-r--r-- | net/netfilter/nf_conntrack_proto_tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_proto_tcp.c b/net/netfilter/nf_conntrack_proto_tcp.c index 61f9285111d1..83876e9877f1 100644 --- a/net/netfilter/nf_conntrack_proto_tcp.c +++ b/net/netfilter/nf_conntrack_proto_tcp.c @@ -1353,6 +1353,8 @@ static const struct nla_policy tcp_timeout_nla_policy[CTA_TIMEOUT_TCP_MAX+1] = { [CTA_TIMEOUT_TCP_TIME_WAIT] = { .type = NLA_U32 }, [CTA_TIMEOUT_TCP_CLOSE] = { .type = NLA_U32 }, [CTA_TIMEOUT_TCP_SYN_SENT2] = { .type = NLA_U32 }, + [CTA_TIMEOUT_TCP_RETRANS] = { .type = NLA_U32 }, + [CTA_TIMEOUT_TCP_UNACK] = { .type = NLA_U32 }, }; #endif /* CONFIG_NF_CT_NETLINK_TIMEOUT */ |