Patchwork pkt_sched: type should be __u32 in header

login
register
mail settings
Submitter Chuck Ebbert
Date Feb. 10, 2009, 8:26 p.m.
Message ID <20090210152623.79149e13@dhcp-100-2-144.bos.redhat.com>
Download mbox | patch
Permalink /patch/22886/
State Accepted
Delegated to: David Miller
Headers show

Comments

Chuck Ebbert - Feb. 10, 2009, 8:26 p.m.
Using u32 in this header breaks the build of iptables.

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>

--
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
David Miller - Feb. 11, 2009, 1:18 a.m.
From: Chuck Ebbert <cebbert@redhat.com>
Date: Tue, 10 Feb 2009 15:26:23 -0500

> Using u32 in this header breaks the build of iptables.
> 
> Signed-off-by: Chuck Ebbert <cebbert@redhat.com>

Applied, thanks Chuck.
--
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

Patch

Index: linux-2.6.28.noarch/include/linux/pkt_sched.h
===================================================================
--- linux-2.6.28.noarch.orig/include/linux/pkt_sched.h
+++ linux-2.6.28.noarch/include/linux/pkt_sched.h
@@ -515,7 +515,7 @@  enum
 
 struct tc_drr_stats
 {
-	u32	deficit;
+	__u32	deficit;
 };
 
 #endif