On Wed, Jul 28, 2021 at 9:56 AM Lorenzo Bianconi
<[email protected]> wrote:
>
> Run IPv6 prefix delegation only gw router chassis for l3gateway mode.
>
> Fixes: e3a398e91 ("controller: Add ipv6 prefix delegation state machine")
> Signed-off-by: Lorenzo Bianconi <[email protected]>

Thanks.  I applied this patch to the main branch.  It does not apply
cleanly to branch-21.06.

If a backport is required, please submit a backport patch.

Thanks
Numan

> ---
>  controller/pinctrl.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/controller/pinctrl.c b/controller/pinctrl.c
> index 8e4c4d18c..a1fba3bdb 100644
> --- a/controller/pinctrl.c
> +++ b/controller/pinctrl.c
> @@ -1284,7 +1284,8 @@ prepare_ipv6_prefixd(struct ovsdb_idl_txn 
> *ovnsb_idl_txn,
>                  sbrec_port_binding_by_name, chassis, active_tunnels,
>                  redirect_name);
>          free(redirect_name);
> -        if (!resident && strcmp(pb->type, "l3gateway")) {
> +        if ((strcmp(pb->type, "l3gateway") || pb->chassis != chassis) &&
> +            !resident) {
>              continue;
>          }
>
> --
> 2.31.1
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to