Re: [PATCHv4 10/16] staging: usbip: TLS for all userspace communication

2013-10-25 Thread Dan Carpenter
On Sat, Oct 19, 2013 at 04:39:13PM +0200, Dominik Paulus wrote: > @@ -104,8 +105,10 @@ static int import_device(int sockfd, struct > usbip_usb_device *udev) > return -1; > } > > - rc = usbip_vhci_attach_device(port, sockfd, udev->busnum, > + usbip_net_bye(conn); > +

[PATCHv4 10/16] staging: usbip: TLS for all userspace communication

2013-10-19 Thread Dominik Paulus
This patch extends the TLS support to cover all communication in userspace. The TLS connection is released shortly before the socket is passed to the kernel. This requires for additional connection state to be passed between functions. We thus replaced the sockfd by a struct containing the TLS con