diff options
author | Patrick McHardy <kaber@trash.net> | 2007-09-28 17:39:55 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:53:35 -0400 |
commit | f73e924cdd166360e8cc9a1b193008fdc9b3e3e2 (patch) | |
tree | 48fbf4b0f9101359e05fb53eabe194495f8214d1 /net/netfilter/nf_conntrack_proto_udp.c | |
parent | 5bf758539388fa9383afd539d052ae93229544b9 (diff) |
[NETFILTER]: ctnetlink: use netlink policy
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_proto_udp.c')
-rw-r--r-- | net/netfilter/nf_conntrack_proto_udp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_proto_udp.c b/net/netfilter/nf_conntrack_proto_udp.c index 751ff7e2a0d..ba80e1a1ea1 100644 --- a/net/netfilter/nf_conntrack_proto_udp.c +++ b/net/netfilter/nf_conntrack_proto_udp.c | |||
@@ -205,6 +205,7 @@ struct nf_conntrack_l4proto nf_conntrack_l4proto_udp4 __read_mostly = | |||
205 | #if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE) | 205 | #if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE) |
206 | .tuple_to_nlattr = nf_ct_port_tuple_to_nlattr, | 206 | .tuple_to_nlattr = nf_ct_port_tuple_to_nlattr, |
207 | .nlattr_to_tuple = nf_ct_port_nlattr_to_tuple, | 207 | .nlattr_to_tuple = nf_ct_port_nlattr_to_tuple, |
208 | .nla_policy = nf_ct_port_nla_policy, | ||
208 | #endif | 209 | #endif |
209 | #ifdef CONFIG_SYSCTL | 210 | #ifdef CONFIG_SYSCTL |
210 | .ctl_table_users = &udp_sysctl_table_users, | 211 | .ctl_table_users = &udp_sysctl_table_users, |
@@ -232,6 +233,7 @@ struct nf_conntrack_l4proto nf_conntrack_l4proto_udp6 __read_mostly = | |||
232 | #if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE) | 233 | #if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE) |
233 | .tuple_to_nlattr = nf_ct_port_tuple_to_nlattr, | 234 | .tuple_to_nlattr = nf_ct_port_tuple_to_nlattr, |
234 | .nlattr_to_tuple = nf_ct_port_nlattr_to_tuple, | 235 | .nlattr_to_tuple = nf_ct_port_nlattr_to_tuple, |
236 | .nla_policy = nf_ct_port_nla_policy, | ||
235 | #endif | 237 | #endif |
236 | #ifdef CONFIG_SYSCTL | 238 | #ifdef CONFIG_SYSCTL |
237 | .ctl_table_users = &udp_sysctl_table_users, | 239 | .ctl_table_users = &udp_sysctl_table_users, |