Need to wait for epoch callbacks to complete before detaching network the interface. This particularly manifests itself when an INP has multicast options attached during a network interface detach. Then the IPv4 and IPv6 leave group call which results from freeing the multicast address, may access a freed ifnet structure.
MFC after: 1 week
Sponsored by: Mellanox Technologies