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.25.13~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=debf2f2593b0244eb81a4b66beef956a73b4e84f;p=thirdparty%2Fkernel%2Fstable.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 134c8e5cf07cc..258430660c709 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. */ @@ -162,6 +163,7 @@ struct ipv6_devconf { #endif void *sysctl; }; +#endif /* index values for the variables in ipv6_devconf */ enum {