[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:
parent
984955b3d7
commit
47116eb201
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue