Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid resetting the VF if the netns does not exist
The VF might have been assigned to another running Pod if the network namespace is not present. In cases like this, resetting the VF might break the configuration of the running Pod. The above scenario might occur when the IPAM plugin takes a lot of time to complete, and the CmdDel gets called multiple times. Check if the namespace is still present before resetting the VF Signed-off-by: Andrea Panattoni <[email protected]>
- Loading branch information