From 75a3a96582f61c294fe18baffde575972ebdc24b Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 23 Jul 2008 23:49:26 -0700 Subject: [PATCH] ipv6: __KERNEL__ ifdef struct ipv6_devconf [ Upstream commit ebb36a978131810c98e7198b1187090c697cf99f ] Based upon a report by Olaf Hering. Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- include/linux/ipv6.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index cde056e08181..0bfd97f0971c 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -123,6 +123,7 @@ struct ipv6hdr { struct in6_addr daddr; }; +#ifdef __KERNEL__ /* * This structure contains configuration options per IPv6 link. */ @@ -165,6 +166,7 @@ struct ipv6_devconf { #endif void *sysctl; }; +#endif /* index values for the variables in ipv6_devconf */ enum { -- 2.34.1