https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230996
--- Comment #30 from Kaho Toshikazu <k...@elam.kais.kyoto-u.ac.jp> --- (In reply to Kevin Bowling from comment #29) EVENTHANDLER_REGISTER seems to require (struct ifnet *) which typedef if_t at if_var.h. When a vlan interface is created/destroyed, the vlan_config/unconfig handler is called, but I can not observe any execution of iflib_vlan_register or iflib_vlan_unregister at using current code. The conversion form ctx to ifp makes execution of handlers. Then these handlers are called when a event is happened regardless for other devices or for itself. The compare is required to pick up a event related to a device driver. The handler calls with if_t because of being registered if_t instead of if_ctx_t by the above modification. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"