Message ID | c20c62df6c7c66e9cffd4d493752fcd8876fc92f.1573231189.git.gnault@redhat.com |
---|---|
State | Accepted |
Delegated to: | David Ahern |
Headers | show |
Series | ipnetns: cleanup and harden processing of netns ids | expand |
diff --git a/ip/ipnetns.c b/ip/ipnetns.c index 0a7912df..b02e0a8a 100644 --- a/ip/ipnetns.c +++ b/ip/ipnetns.c @@ -340,7 +340,7 @@ int print_nsid(struct nlmsghdr *n, void *arg) netns_map_del(c); } - /* During 'ip monitor nsid', no chance to have new nsid in cache. */ + /* nsid might not be in cache */ if (c == NULL && n->nlmsg_type == RTM_NEWNSID) if (netns_get_name(nsid, name) == 0) { print_string(PRINT_ANY, "name",
'ip monitor nsid' doesn't call print_nsid(). Signed-off-by: Guillaume Nault <gnault@redhat.com> --- ip/ipnetns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)