mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 14:43:58 +08: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:
parent
984955b3d7
commit
47116eb201
@ -230,7 +230,7 @@ nfattr_failure:
|
|||||||
static inline int
|
static inline int
|
||||||
ctnetlink_dump_use(struct sk_buff *skb, const struct ip_conntrack *ct)
|
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);
|
NFA_PUT(skb, CTA_USE, sizeof(u_int32_t), &use);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user