Skip to content
Snippets Groups Projects
Commit bda3b8a1 authored by Clemens Ladisch's avatar Clemens Ladisch
Browse files

firewire: core: retry on local errors in bus manager election


When the candidate bus manager fails to do the lock request with which
it tries to become bus manager, it assumes that the current IRM is not
actually IRM capable and forces itself to become root.  However, if that
lock request failed because the local node itself was not able to send
it, then we cannot blame the current IRM and should not steal its
rootness.

In this case, RCODE_SEND_ERROR is likely to indicate a temporary error
condition such as exhausted tlabels or low memory, so we better try
again later.

Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent 153e3979
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment