Try to fix potential race in iptunnel prepare
The problem seems to be wrong ifindex counting, error message:
Device or resource busy
.
Rewritten, added some checks that device exists in correct namespace. This most often happens on nm-1-34, let's see how stable it is with this fix.
@build:nm-1-34 @os:c8s
Edited by Filip Pokryvka