* Gua Chung Lim (gua.chunglim%gmail.com@localhost) wrote:
> There is no 'ifv_psz' member in struct ifvlan.
> Let me try fixing it.
Definitely correct,
Try this patch...
--- /usr/src/sys/net/if_vlan.c 2018-10-22 02:46:54.409390068 +0700
+++ if_vlan.c 2018-10-22 02:46:30.235596617 +0700
@@ -161,7 +161,7 @@
* instead of direct dereference
*/
kmutex_t ifv_lock; /* writer lock for ifv_mib */
-
+ pserialize_t ifv_psz;
LIST_HEAD(__vlan_mchead, vlan_mc_entry) ifv_mc_listhead;
LIST_ENTRY(ifvlan) ifv_list;
struct pslist_entry ifv_hash;
Now build distribution fine, and I carry on with successfully build kernel.
% uname -a
NetBSD sirius 8.0_STABLE NetBSD 8.0_STABLE (GENERIC) #4: Mon Oct 22 02:50:55 +07 2018 root@sirius:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Cheers!!
--
Gua Chung Lim
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie