]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ipv6: __KERNEL__ ifdef struct ipv6_devconf
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Jul 2008 06:49:26 +0000 (23:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Aug 2008 19:42:58 +0000 (12:42 -0700)
[ 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>
include/linux/ipv6.h

index cde056e0818172aeb7a5ae8d69998fb83d41796e..0bfd97f0971c074d2ef4ac35364bd04dc4770f0e 100644 (file)
@@ -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 {