On 2019-02-25 10:28, Hans Petter Selasky wrote:
> I think the if_down() call is not strictly needed. ether_ifdetach()
> already does this. Can you test the patch w/o the if_down() call?
> 

I only added the call because I was not sure what would happen if you
destroy the port for an active interface. If it could cause issues if
operations are performed on the interface while it is being destroyed.

That said, I've tested without the call to if_down() and it seems to work.

Cordially,
Andreas Kempe
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to