ChibiOS-Contrib/os
Austin Morton 40769f9bd3 avoid using list_for_each_entry_safe when closing endpoints to prevent potential infinite loop
list_for_each_entry_safe is only safe when the current entry is being removed.
If other entries in the list could potentially be removed it can result in an infinite loop.

Because usbh_lld_ep_close blocks on each urb during iteration, it may give up its lock on
the system and allow an interrupt to remove a different urb from the list,
resulting in an infinite loop when the thread resumes.
2018-10-01 17:57:11 -04:00
..
common Merge pull request #158 from walkerstop/mike 2018-05-07 16:58:30 +02:00
hal avoid using list_for_each_entry_safe when closing endpoints to prevent potential infinite loop 2018-10-01 17:57:11 -04:00
various Adopt sources to new HAL. 2018-09-24 20:29:02 +07:00
.keep Added 'demos' and 'os' subdirectories 2014-10-05 14:27:49 +03:00