[net] properly tear-down invalid linux packet eth devices
[net] enhance netif_test a bit