git: ff09f9133f2f - main - LinuxKPI: net/if_inet6.h add struct inet6_dev { }
Bjoern A. Zeeb
bz at FreeBSD.org
Tue May 25 18:15:12 UTC 2021
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=ff09f9133f2fb80f705c2c742fc34291b05140af
commit ff09f9133f2fb80f705c2c742fc34291b05140af
Author: Bjoern A. Zeeb <bz at FreeBSD.org>
AuthorDate: 2021-05-24 18:11:56 +0000
Commit: Bjoern A. Zeeb <bz at FreeBSD.org>
CommitDate: 2021-05-25 18:01:47 +0000
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
---
sys/compat/linuxkpi/common/include/net/if_inet6.h | 4 ++++
1 file changed, 4 insertions(+)
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)
{
/*
More information about the dev-commits-src-main
mailing list