
We can't use IF_PURGE here because m_pkthdr.rcvif have here a special meaning : it holds ieee80211_node to which the management frame should be sent and the node has its reference count bumped. Introduce ieee80211_drain_ifq which release the node before freeing the mbuf. Use it instead of IF_PURGE. From DragonflyBSD