[PATCH 04/25] PFKEYV2: Fix inconsistent typing in struct sadb_x_kmprivate.

Chris Wright
2006-06-27T20:12:04Z

[-- Attachment #1: pfkeyv2-fix-inconsistent-typing-in-struct-sadb_x_kmprivate.patch --]
[-- Type: text/plain, Size: 843 bytes --]

-stable review patch. If anyone has any objections, please let us know.
------------------

From: Tushar Gohad <tgohad@mvista.com>

Fixes inconsistent use of "uint32_t" vs. "u_int32_t".
Fix pfkeyv2 userspace builds.

Signed-off-by: Tushar Gohad <tgohad@mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---

include/linux/pfkeyv2.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.17.1.orig/include/linux/pfkeyv2.h
+++ linux-2.6.17.1/include/linux/pfkeyv2.h
@@ -159,7 +159,7 @@ struct sadb_spirange {
struct sadb_x_kmprivate {
uint16_t sadb_x_kmprivate_len;
uint16_t sadb_x_kmprivate_exttype;
- u_int32_t sadb_x_kmprivate_reserved;
+ uint32_t sadb_x_kmprivate_reserved;
} __attribute__((packed));
/* sizeof(struct sadb_x_kmprivate) == 8 */

--