Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2021 18:15:08 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ff09f9133f2f - main - LinuxKPI: net/if_inet6.h add struct inet6_dev { }
Message-ID:  <202105251815.14PIF8Iu044008@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

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

commit ff09f9133f2fb80f705c2c742fc34291b05140af
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-05-24 18:11:56 +0000
Commit:     Bjoern A. Zeeb <bz@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)
 {
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105251815.14PIF8Iu044008>