{"push_id":845100798,"size":1,"distinct_size":1,"ref":"refs/heads/pristine-1.4-rmtwf-3","head":"8ef1b397be4939ebf607f3d69e69883233150b43","before":"888e8d1f0e610f4c92bcfbc854ab0348853a5316","commits":[{"sha":"8ef1b397be4939ebf607f3d69e69883233150b43","author":{"email":"bfc8a6891d0b6e5166c6002f1e62260769d821fe@i2cat.net","name":"Leonardo Bergesio"},"message":"kernel:efcp: fix #778 waitqueue to destroy flow\n\nOriginally in the receive/send operations of the efcp_container if the\npending_ops counter arrived to 0 and the EFCP instance in action was in\nEFCP_DEALLOCATED state, efcp_destroy would be called. This would call\ndtp/dtcp_destroy which would do a rina_component_fini. This op takes a mutex.\nThe problem is that all this can happen in interrupt context.\n\nThe solution implemented here is to use a wait queue in the\nefcp_connection_destroy operation (always called in process context) which sets\nthe state of efcp instance to EFCP_DEALLOCATED. After doing it, it sleeps till\nthe pending_ops counter is 0.  The receive/send operations now wake_up the\nefcp_connection_destroy instead of calling efcp_destroy directly.","distinct":true,"url":"https://api.github.com/repos/lbergesio/stack/commits/8ef1b397be4939ebf607f3d69e69883233150b43"}]}