Re: [PATCH v4] usb: usbip: set buffer pointers to NULL after free

2017-06-06 Thread Shuah Khan
On 05/22/2017 05:02 AM, Michael Grzeschik wrote: > The usbip stack dynamically allocates the transfer_buffer and > setup_packet of each urb that got generated by the tcp to usb stub code. > As these pointers are always used only once we will set them to NULL > after use. This is done likewise to

Re: [PATCH v4] usb: usbip: set buffer pointers to NULL after free

2017-06-06 Thread Greg KH
On Tue, Jun 06, 2017 at 11:36:03AM +0200, Michael Grzeschik wrote: > Gentle Ping. I'm waiting for a usbip maintainer to review it :) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v4] usb: usbip: set buffer pointers to NULL after free

2017-06-06 Thread Michael Grzeschik
Gentle Ping. To verify this patch just test usbip with some USB Ethernet devices. On Mon, May 22, 2017 at 01:02:44PM +0200, Michael Grzeschik wrote: > The usbip stack dynamically allocates the transfer_buffer and > setup_packet of each urb that got generated by the tcp to usb stub code. > As

[PATCH v4] usb: usbip: set buffer pointers to NULL after free

2017-05-22 Thread Michael Grzeschik
The usbip stack dynamically allocates the transfer_buffer and setup_packet of each urb that got generated by the tcp to usb stub code. As these pointers are always used only once we will set them to NULL after use. This is done likewise to the free_urb code in vudc_dev.c. This patch fixes double