mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 09:40:58 +07:00
[IPV6]: net/addrconf.h needs to include linux/in6.h earlier
Else the in6_addr layout is not known for struct prefix_info. Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
8800cea620
commit
6a800d456a
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user