Re: [PATCH 1/1] usb: gadget: configfs: fix concurrent issue between composite APIs

2019-09-05 Thread Peter Chen
On 19-08-26 15:10:55, Peter Chen wrote: > We meet several NULL pointer issues if configfs_composite_unbind > and composite_setup (or composite_disconnect) are running together. > These issues occur when do the function switch stress test, the > configfs_compsoite_unbind is called from user mode by

[PATCH 1/1] usb: gadget: configfs: fix concurrent issue between composite APIs

2019-08-26 Thread Peter Chen
We meet several NULL pointer issues if configfs_composite_unbind and composite_setup (or composite_disconnect) are running together. These issues occur when do the function switch stress test, the configfs_compsoite_unbind is called from user mode by echo "" to /sys/../UDC entry, and meanwhile, the