summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-23 23:49:26 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-28 10:58:16 -0700
commitdebf2f2593b0244eb81a4b66beef956a73b4e84f (patch)
tree57b3739e346005a2324f1650de5f06d9673fd36a /include
parent7252bc6ab55f64f1ee99a4e777e08a2bef970ac0 (diff)
downloadlinux-stable-debf2f2593b0244eb81a4b66beef956a73b4e84f.tar.gz
linux-stable-debf2f2593b0244eb81a4b66beef956a73b4e84f.tar.bz2
linux-stable-debf2f2593b0244eb81a4b66beef956a73b4e84f.zip
ipv6: __KERNEL__ ifdef struct ipv6_devconf
[ Upstream commit ebb36a978131810c98e7198b1187090c697cf99f ] Based upon a report by Olaf Hering. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index 134c8e5cf07c..258430660c70 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 {