linux-cp: Fix coverity issue
Type: fix
Possible negative return in open(), do not use curr_ns_fd if it is
negative.  Addresses Coverity issue 248535
@@ -496,7 +496,7 @@ lcp_nl_open_socket (void)
nl_connect (nm->sk_route, NETLINK_ROUTE);
- if (dest_ns_fd)
+ if (dest_ns_fd && curr_ns_fd >= 0)
{
setns (curr_ns_fd, CLONE_NEWNET);
close (curr_ns_fd);
