projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8800cea
)
[IPV6]: net/addrconf.h needs to include linux/in6.h earlier
author
Patrick McHardy
<kaber@trash.net>
Wed, 4 May 2005 05:17:18 +0000
(22:17 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 May 2005 05:17:18 +0000
(22:17 -0700)
Else the in6_addr layout is not known for struct
prefix_info.
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/addrconf.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/addrconf.h
b/include/net/addrconf.h
index f1e5af4be98e4a9cde314a5c1ceeaf3a61cf87ad..a0ed9367217601cd1e1dbcb6266bf2e8d25f68cf 100644
(file)
--- a/
include/net/addrconf.h
+++ b/
include/net/addrconf.h
@@
-17,6
+17,8
@@
#define IPV6_MAX_ADDRESSES 16
+#include <linux/in6.h>
+
struct prefix_info {
__u8 type;
__u8 length;
@@
-43,7
+45,6
@@
struct prefix_info {
#ifdef __KERNEL__
-#include <linux/in6.h>
#include <linux/netdevice.h>
#include <net/if_inet6.h>
#include <net/ipv6.h>