aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2021-05-24 18:11:56 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2021-05-25 18:01:47 +0000
commitff09f9133f2fb80f705c2c742fc34291b05140af (patch)
treeb68e8a4c4d3f2c21ee60b3c3059aedac26346b4e
parent602e4e433d3e7dbb03d4fd30a4720a02cdeca6aa (diff)
downloadsrc-ff09f9133f2fb80f705c2c742fc34291b05140af.tar.gz
src-ff09f9133f2fb80f705c2c742fc34291b05140af.zip
LinuxKPI: net/if_inet6.h add struct inet6_dev { }
Add a dummy struct inet6_dev {}; to net/if_inet6.h. This is currently not used for anything but in a declaration. Just needs to be there. Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D30426
-rw-r--r--sys/compat/linuxkpi/common/include/net/if_inet6.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/net/if_inet6.h b/sys/compat/linuxkpi/common/include/net/if_inet6.h
index bb4df2615186..16f3a9965675 100644
--- a/sys/compat/linuxkpi/common/include/net/if_inet6.h
+++ b/sys/compat/linuxkpi/common/include/net/if_inet6.h
@@ -36,6 +36,10 @@
#include <asm/types.h>
+struct inet6_dev {
+ /* XXX currently unused but in a declaration. */
+};
+
static inline void ipv6_eth_mc_map(const struct in6_addr *addr, char *buf)
{
/*