Re: [PATCH v2] usb: usbip: let urb_destroy the transfer_buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 16, 2017 at 11:14:46AM +0200, Michael Grzeschik wrote:
> On Mon, May 15, 2017 at 05:37:52PM +0200, Michael Grzeschik wrote:
> > The usbip stack dynamically allocates the transfer_buffer of each urb in
> > stub_recv_cmd_submit depending on the requested transfer_buffer_length
> > set via the received tcp packet. As the usbip layer never reuses the
> > always different sized transfer_buffer it can always add URB_FREE_BUFFER
> > to the urbs transfer_flags and let urb_destroy call the kfree for it.
> 
> As this also fixes the double kfree I think this could go into the stable tree.

Any reason you aren't cc: the maintainers for this driver?  Please use
scripts/get_maintainer.pl to find that, and resend, properly tagging
this for stable as well.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux