diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-23 23:49:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-01 12:42:58 -0700 |
commit | 75a3a96582f61c294fe18baffde575972ebdc24b (patch) | |
tree | 45876a1bb2bb4a0f717a6e3e63744414a2bd8a53 /include | |
parent | 579effcc0cdade7a32e85e3ab92f16622bf5b625 (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |