Re: 回复: 回复: [PATCH v2] usb: gadget: function: printer: fix use-after-free in __lock_acquire

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

 



On Wed, Jun 10, 2020 at 04:58:44AM +0000, Zhang, Qiang wrote:
> cdev  object reference count and "struct printer_dev" object
> reference count(kref), This two reference counts do not conflict.  in
> file usb-skeleton.c also used a similar method, "struct usb_skel"
> contains kref members.

I do not understand what you are referring to here, sorry.

greg k-h



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

  Powered by Linux