After adding the default IPv6 default link-local address, the kernel is not informed about the new network interface address. Move the EVENTHANDLER_INVOKE() call to a more appropriate location.
This event is needed by ibcore which regularly listen for network address changes.
The issue manifests itself when creating a VLAN network interface and configuring a IPv4 address only which also brings up the IPv6 link-local address, but the ifaddr_event is not invoked for the latter and then ibcore will not see the IPv6 link-local address added only the IPv4 one.
Sponsored by: Mellanox Technologies