mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 06:49:29 -04:00
[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>
This commit is contained in:
committed by
David S. Miller
parent
984955b3d7
commit
47116eb201
@@ -230,7 +230,7 @@ ctnetlink_dump_id(struct sk_buff *skb, const struct ip_conntrack *ct)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user