Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cb8254ee authored by David Dai's avatar David Dai Committed by Gerrit - the friendly Code Review server
Browse files

msm: msm_bus: create blacklist for source nodes



Instead of checking for blacklisted nodes for each node as
we traverse through the graph and only consider directly connected
nodes, create a list of blacklisted nodes at the source node that
presists throughout the path finding. The previous implemmentation
wasn't very useful in preventing circular paths for some masters
as it would block out every request from an upstream master and is
equvalent to not listing the connection to start with. Listing black
listed nodes at the master would allow certain connections to traverse
downstream through the gateway while blocking illegal paths from certain
masters.

Change-Id: I6ae4660b05b08a66835f7936a948dc1e17ba218d
Signed-off-by: default avatarDavid Dai <daidavid1@codeaurora.org>
parent eb6b2e30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment