]> 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>
Mon, 28 Jul 2008 17:58:16 +0000 (10:58 -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 134c8e5cf07cc6ab61a5a317f0660d6de02c3350..258430660c709a0dc1961dc1bebbb37c7ef8af7d 100644 (file)
@@ -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 {