diff --git a/test/zdtm/static/scm06.desc b/test/zdtm/static/scm06.desc
index 2eac7e654b..38cc3be519 100644
--- a/test/zdtm/static/scm06.desc
+++ b/test/zdtm/static/scm06.desc
@@ -1 +1,4 @@
-{'flags': 'suid'}
+# This test isn't executed in the host flavor (in the same network namespace,
+# because the kernel releases a test socket asynchronously, so the restore
+# can fail if it is executed before the kernel actually destroys the socket.
+{'flags': 'suid', 'flavor': 'ns uns'}