Skip to content
Commit 9e48ee80 authored by Antonio Cardace's avatar Antonio Cardace Committed by Jakub Kicinski
Browse files

selftests: refactor get_netdev_name function



As pointed out by Michal Kubecek, getting the name
with the previous approach was racy, it's better
and easier to get the name of the device with this
patch's approach.

Essentialy the function doesn't need to exist
anymore as it's a simple 'ls' command.

Signed-off-by: default avatarAntonio Cardace <acardace@redhat.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent fbb8531e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment