The thread running if_vmove_reclaim() may race with other threads those
running if_detach(), if_vmove_loan() or if_vmove_reclaim(). In case it
loses race, there're two issues with it,
- It is unstable and unsafe to access ifp->if_vnet.
- The interface is removed from "active" list, hence if_unlink_ifnet() can fail.
For the first case, check against source prison's vnet instead, given
the interface is obtained from that vnet.
For the second case, return ENODEV to indicate the interface was on the
list but the current thread loses race, to distinguish from ENXIO, which
means the interface or child prison is not found. This is the same with
if_vmove_loan().
Fixes: a779388f8bb3 if: Protect V_ifnet in vnet_if_return()
MFC after: 1 week