git: 15350a10577e - stable/13 - LinuxKPI: net/if_inet6.h add struct inet6_dev { }

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jul 18 00:36:28 UTC 2021


The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=15350a10577ef7a7528f5b3d43f0d671f82da863

commit 15350a10577ef7a7528f5b3d43f0d671f82da863
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-07-18 00:35:01 +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
    Reviewed by:    hselasky
    Differential Revision: https://reviews.freebsd.org/D30426
    
    (cherry picked from commit ff09f9133f2fb80f705c2c742fc34291b05140af)
---
 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-branches mailing list