[Bluetooth] Fix race when unlinking incoming connections
When the user space applications don't call accept() it can happen that
incoming connections stay in the accept queue and block further connection
attempts until the server is restarted. On a disconnect it is necessary
that the connection is removed from the accept queue. This can't be the
job of a cleanup function.
Signed-off-by:
Marcel Holtmann <marcel@holtmann.org>
Showing
Please register or sign in to comment