[ovs-dev] [PATCH 06/17] rstp-state-machines: Fix updt_roles_tree().

Jarno Rajahalme jrajahalme at nicira.com
Thu Nov 13 23:26:20 UTC 2014


On Nov 6, 2014, at 7:31 AM, Daniele Venturino <daniele.venturino at m3s.it> wrote:

>        If the DesignatedBridgeID Bridge Address component is equal to that
>        component of the Bridge's own bridge priority vector skip to the next
>        port.
> 

git adds indentation so the email format should not have any.

Otherwise:

Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>

> Signed-off-by: Daniele Venturino <daniele.venturino at m3s.it>
> ---
> lib/rstp-state-machines.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/rstp-state-machines.c b/lib/rstp-state-machines.c
> index 5c03385..9357db5 100644
> --- a/lib/rstp-state-machines.c
> +++ b/lib/rstp-state-machines.c
> @@ -309,7 +309,7 @@ updt_roles_tree__(struct rstp *r)
> 
>         if ((candidate_vector.designated_bridge_id & 0xffffffffffffULL) ==
>             (r->bridge_priority.designated_bridge_id & 0xffffffffffffULL)) {
> -            break;
> +            continue;
>         }
>         if (compare_rstp_priority_vectors(&candidate_vector,
>                                           &best_vector) == SUPERIOR) {
> -- 
> 1.8.1.2
> 




More information about the dev mailing list