RE: [PATCH v13 04/10] usbip: exporting devices: new disconnect operation

2016-12-01 Thread fx IWATA NOBUO
-- > From: Krzysztof Opasiak [mailto:k.opas...@samsung.com] > Sent: Friday, December 02, 2016 5:37 AM > To: fx IWATA NOBUO; valentina.mane...@gmail.com; shuah...@samsung.com; > gre...@linuxfoundation.org; linux-usb@vger.kernel.org > Cc: fx MICHIMURA TADAO > Subject: Re: [PATCH v13 04/

Re: [PATCH v13 04/10] usbip: exporting devices: new disconnect operation

2016-12-01 Thread Krzysztof Opasiak
On 11/22/2016 07:48 AM, Nobuo Iwata wrote: (...) > + > +static int send_unexport_device(int sockfd, struct usbip_usb_device *udev) > +{ > + int rc; > + struct op_unexport_request request; > + struct op_unexport_reply reply; > + uint16_t code = OP_REP_UNEXPORT; > + > + memset