> +static int prepare_ipc_data(int fd) > +{ > + int ret; > + struct ipc_ns_data ipc; > + > + ret = read_img(fd, &ipc); > + if (ret <= 0) > + return -EFAULT; > + ret = prepare_ipc_tun(&ipc.entry); > + if (ret < 0) > + return ret; > + return 0; return prepare_ipc_tun(&ipc.entry); > +}