Skip to content
Commit 1d650d2c authored by Hangbin Liu's avatar Hangbin Liu Committed by Greg Kroah-Hartman
Browse files

selftests/net/lib: no need to record ns name if it already exist

commit 83e93942 upstream.

There is no need to add the name to ns_list again if the netns already
recoreded.

Fixes: 25ae948b

 ("selftests/net: add lib.sh")
Signed-off-by: default avatarHangbin Liu <liuhangbin@gmail.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d722ed25
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