From: David S. Miller Date: Thu, 24 Jul 2008 06:49:26 +0000 (-0700) Subject: ipv6: __KERNEL__ ifdef struct ipv6_devconf X-Git-Tag: v2.6.26.1~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75a3a96582f61c294fe18baffde575972ebdc24b;p=platform%2Fkernel%2Flinux-stable.git 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 --- 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 {