summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2006-01-05 21:17:50 +0100
committerDavid S. Miller <davem@davemloft.net>2006-01-05 21:17:50 +0100
commit47116eb201571ad1198a8d76dc3571e85ba7c8c9 (patch)
tree40dd334366d7c4c0bb264d52a2138eebf5d97c05 /net
parent[NETFILTER]: ctnetlink: propagate ctnetlink_dump_tuples_proto return value back (diff)
downloadlinux-47116eb201571ad1198a8d76dc3571e85ba7c8c9.tar.xz
linux-47116eb201571ad1198a8d76dc3571e85ba7c8c9.zip
[NETFILTER]: ctnetlink: use u_int32_t instead of unsigned int
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/netfilter/ip_conntrack_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_netlink.c b/net/ipv4/netfilter/ip_conntrack_netlink.c
index 5e9affdd0dbe..faa027ba687e 100644
--- a/net/ipv4/netfilter/ip_conntrack_netlink.c
+++ b/net/ipv4/netfilter/ip_conntrack_netlink.c
@@ -230,7 +230,7 @@ nfattr_failure:
static inline int
ctnetlink_dump_use(struct sk_buff *skb, const struct ip_conntrack *ct)
{
- unsigned int use = htonl(atomic_read(&ct->ct_general.use));
+ u_int32_t use = htonl(atomic_read(&ct->ct_general.use));
NFA_PUT(skb, CTA_USE, sizeof(u_int32_t), &use);
return 0;