commit | b346c0c85892cb8c53e8715734f71ba5bbec3387 | [log] [tgz] |
---|---|---|
author | Paolo Pisati <paolo.pisati@canonical.com> | Tue Jul 21 18:17:10 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 21 16:11:07 2020 -0700 |
tree | c9f61013bdf425700a85f9aea910610a5c2a5131 | |
parent | 785ed9c32aa1e709e62a475e44139bd875b00c9d [diff] |
selftest: txtimestamp: fix net ns entry logic According to 'man 8 ip-netns', if `ip netns identify` returns an empty string, there's no net namespace associated with current PID: fix the net ns entrance logic. Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>