summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2006-01-05 12:17:50 -0800
committerDavid S. Miller <davem@davemloft.net>2006-01-05 12:17:50 -0800
commit47116eb201571ad1198a8d76dc3571e85ba7c8c9 (patch)
tree40dd334366d7c4c0bb264d52a2138eebf5d97c05 /net
parent984955b3d7f9943becf9915601f49a1fb7a41f7a (diff)
downloadop-kernel-dev-47116eb201571ad1198a8d76dc3571e85ba7c8c9.zip
op-kernel-dev-47116eb201571ad1198a8d76dc3571e85ba7c8c9.tar.gz
[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 5e9affd..faa027b 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;
OpenPOWER on IntegriCloud