diff mbox

uapi: netfilter_arp: use __u8 instead of u_int8_t

Message ID 1390358414-8844-1-git-send-email-vapier@gentoo.org
State Awaiting Upstream, archived
Delegated to: David Miller
Headers show

Commit Message

Mike Frysinger Jan. 22, 2014, 2:40 a.m. UTC
Similarly, the u_int8_t type is non-standard and not defined.  Change
it to use __u8 like the rest of the netfilter headers.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 include/uapi/linux/netfilter_arp/arpt_mangle.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Miller Jan. 22, 2014, 2:47 a.m. UTC | #1
From: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 21 Jan 2014 21:40:14 -0500

> Subject: [PATCH] uapi: netfilter_arp: use __u8 instead of u_int8_t
> From:	Mike Frysinger <vapier@gentoo.org>
> To:	netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>
> Date:	Tue, 21 Jan 2014 21:40:14 -0500
> Sender:	netdev-owner@vger.kernel.org
> X-Mailer: git-send-email 1.8.4.3
> 
> Similarly, the u_int8_t type is non-standard and not defined.  Change
> it to use __u8 like the rest of the netfilter headers.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Please send netfilter changes to netfilter-devel, CC:'d.

> ---
>  include/uapi/linux/netfilter_arp/arpt_mangle.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/uapi/linux/netfilter_arp/arpt_mangle.h b/include/uapi/linux/netfilter_arp/arpt_mangle.h
> index 250f502..8c2b16a 100644
> --- a/include/uapi/linux/netfilter_arp/arpt_mangle.h
> +++ b/include/uapi/linux/netfilter_arp/arpt_mangle.h
> @@ -13,7 +13,7 @@ struct arpt_mangle
>  	union {
>  		struct in_addr tgt_ip;
>  	} u_t;
> -	u_int8_t flags;
> +	__u8 flags;
>  	int target;
>  };
>  
> -- 
> 1.8.4.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/uapi/linux/netfilter_arp/arpt_mangle.h b/include/uapi/linux/netfilter_arp/arpt_mangle.h
index 250f502..8c2b16a 100644
--- a/include/uapi/linux/netfilter_arp/arpt_mangle.h
+++ b/include/uapi/linux/netfilter_arp/arpt_mangle.h
@@ -13,7 +13,7 @@  struct arpt_mangle
 	union {
 		struct in_addr tgt_ip;
 	} u_t;
-	u_int8_t flags;
+	__u8 flags;
 	int target;
 };