Retry when switching namespace
Retry when switching namespace

When a new network namespace has been seen by inotify, the path to
the namespace may still be a regular file, not a bind mount to the
file in /proc/<pid>/tasks/<tid>/ns/net yet, so we wait a bit for the
bind mount to be set up

Change-Id: I1f5e1b13fa85e1e1f4f610ff8ebc65538705e62e
Reviewed-on: https://softwarefactory-project.io/r/5493
Reviewed-by: Sylvain Afchain <b9baee1c2e4cc202620c6529e0c0bd3dbc38b6dc@gmail.com>
Tested-by: Sylvain Afchain <b9baee1c2e4cc202620c6529e0c0bd3dbc38b6dc@gmail.com>
Workflow: Sylvain Afchain <b9baee1c2e4cc202620c6529e0c0bd3dbc38b6dc@gmail.com>

skydive-project/skydive,lebauce/skydive,skydive-project/skydive,safchain/skydive,skydive-project/skydive,skydive-project/skydive,safchain/skydive,safchain/skydive,safchain/skydive,skydive-project/skydive,redhat-cip/skydive,lebauce/skydive,skydive-project/skydive,lebauce/skydive,redhat-cip/skydive,lebauce/skydive,lebauce/skydive,safchain/skydive,lebauce/skydive,lebauce/skydive,skydive-project/skydive,safchain/skydive,redhat-cip/skydive,safchain/skydive,lebauce/skydive,safchain/skydive